E
Ethan Adams
I have a user control that is a header that I intend to use in a number of
pages. This user control contains a number of ASP list boxes and an ASP
check box. I have set the Autopostback to true for these ASP controls. I
then put the tag for the user control in a page and ASP.NET writes a little
javascript that makes the autopostback feature work. This works fine on my
development machine which has XP Pro on it. However, when I put it on my
production server, which is Windows 2000, ASP.NET writes a significantly
different javascript script which contains a line that is illegal in
javascript. The reason it is illegal is because the script references the
form name literally, and the form name contains a colon because the form is
contained in a user control. What I can't figure out is why, though I have
ASP.NET 1.1 installed on each machine one writes completely different
javascript than the other. If you want to see the page with the javascript
error, it is located at www.mansfieldjones.com. Thanks for any help on
this.
Sincerely,
Ethan Adams
pages. This user control contains a number of ASP list boxes and an ASP
check box. I have set the Autopostback to true for these ASP controls. I
then put the tag for the user control in a page and ASP.NET writes a little
javascript that makes the autopostback feature work. This works fine on my
development machine which has XP Pro on it. However, when I put it on my
production server, which is Windows 2000, ASP.NET writes a significantly
different javascript script which contains a line that is illegal in
javascript. The reason it is illegal is because the script references the
form name literally, and the form name contains a colon because the form is
contained in a user control. What I can't figure out is why, though I have
ASP.NET 1.1 installed on each machine one writes completely different
javascript than the other. If you want to see the page with the javascript
error, it is located at www.mansfieldjones.com. Thanks for any help on
this.
Sincerely,
Ethan Adams