Autopostback fails because of script error

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
 
B

bruce barker

as its a 1.0 bug, your site on the server must be mapped to 1.0 not 1.1

-- bruce (sqlwork.com)
 
E

Ethan Adams

Gulp. . .
Ummm, how do I change that? I'm assuming theres a way to tell the
application to use 1.1 instead of 1.0?

Thanks,
Ethan Adams
 
E

Ethan Adams

OK, I used the tool, and I even went so far as to install the 1.0 .NET
Framework on the application server, leaving only the 1.1 .NET Framework
installed, but I still have the problem:

www.mansfieldjones.com

What else am I missing? I notice that my machine.config contains many
references to 1.0.x of various assemblies. Could that be the problem?
Thanks once again for any help

-- Ethan Adams
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top