Page 1 of 1

Troubleshooting Scriptlets on Custom Pages

Posted: Tue Oct 28, 2008 9:37 am
by smcfarland
I am having some real issues with the scriptlets and custom pages.

For instance, I tried using the scriptlets for the ContactUs.aspx page and the title says "Currencies". I tried copying webpage.aspx and renaming it as affiliates.aspx, navigating to the site logged in as admin, then changing the content to "My Affiliate..." and all that comes up is the header "My Affiliate Account", with nothing under it.

I had a lot of issues getting things uploaded -- I had to do a clean install three times due to connection problems with Comcast and FileZilla. I reinstalled, so I don't think anything is missing now, but apparently something isn't right.

Besides completely scrapping all of the work I have done and starting over, does anyone see a fix?

Re: Troubleshooting Scriptlets on Custom Pages

Posted: Tue Oct 28, 2008 10:34 am
by mazhar
For the title also have a look at the top of the ASPX page and if there is Title attribute then change its value as desired. Also if you duplicated the webpage.aspx and using your custom scriptlet with the copy then remove the code within

Code: Select all

<script runat="server">
..........
..........
</script> 
tags. This code is used to load the webpages by webpageid.

Re: Troubleshooting Scriptlets on Custom Pages

Posted: Tue Oct 28, 2008 10:45 am
by nickc
Hmm. Guesswork is no fun. Build and test locally. Running VS against a local copy of IIS running Able will allow you to set breakpoints, watches, and see exactly how your controls are behaving. After it all works the way you want - upload.

Re: Troubleshooting Scriptlets on Custom Pages

Posted: Tue Oct 28, 2008 12:10 pm
by jmestep
Are you making changes from the web side of the site, down in the Editor where you pick the left nav, body content, etc? If you are making changes to the content area there, then that change will be applied to any item that uses the display page that is being used in the section right above.