Searching for framework 1.1 _dopostback bug fix...?

C

chrislewis

There have been numerous references to a bug in .NET Framework 1.1, on
Windows 2000 that causes <form> tags within user controls to be given an
invalid (i.e. not compatible with javascript) id (the id contains a colon
':' character that cannot be interpreted by javascript. (See post on
21/07/2003 subject 'Error Expected ';' in .NET Framework').

The offending code looks like this:

function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
theform = document.forms["_ctl1:Form1"];
}
else {
theform = document._ctl1:Form1;
----------------------------^ this colon causes javascript error

}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}

The reply to this post suggests going to a forum thread on www.asp.net.
However, I would like to know what the Microsoft position on this is? Is
there a place within a Microsoft site where we can find an 'official' fix?

I need the fix very urgently!!

Thanking you, in anticipation.

Chris Lewis
 

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,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top