ASP.NET framework issue, javascript code _ctl1:mainForm breaks IE, Error Expected ';'

J

jbrag

Hi

My 2003 and XP web application server machines have a problem related
to ASP.NET framework. The IIS/ASP.NET generates javascript code in my
Xxx.ASPX pages containing this fragment :

"theform = document._ctl1:mainForm;"
instead of standard: theform = document.forms["__aspnetForm"];

This is a part of automatically created function __doPostBack() by the
framework.
And it breaks under IE browser with "Error Expected ';'" alert box
displayed, when the page is served.

I know this is a known problem and there is a Microsoft KB article and
a patch for that.
Could anyone please point me to the article/patch ?
Thank you for help in advance!

For more on that problem (however incomplete info) see:
http://dotnet247.com/247reference/msgs/51/256272.aspx

Jacek.
 

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

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top