Ask a Question related to ASP.NET General, Design and Development.
-
chrislewis@etsolutions.com #1
Searching for framework 1.1 _dopostback bug fix...?
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("n etscape") > -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 [url]www.asp.net[/url].
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
chrislewis@etsolutions.com Guest
-
WE KNOW EXACTLY WHAT YOU'RE SEARCHING FOR!
:disgust; I am addressing a forum made up of people young enough to be my children and grandchildren - I'm 73, have significant problems, none life... -
name searching
Hello, I want to search for a name in a mysql database. Name-searching can be tricky. Let's say I want to find "Boer". This should match "de... -
Paging and _doPostBack
ASP.NET I have inherited from datagrid, and use the selectedindex changed event via the _doPostBack function. If I dont use paging this works... -
_dopostback and id
ASP.NET Hi I have a custom datagrid enabled through inherting from datagrid I want to allow selection to change the back color, and... -
ASP.net in other framework
hie, i would like to know whether do i need to use the "Imports" statement in my webapplication when i create a component in another application. i...



Reply With Quote

