|
ctadlock
|
|
I regularly get this scripting error on my site on a fresh page load. It happens randomly, but when it does all the scripts on the page are broken.
form.__EVENTTARGET is undefined (?)()() ScriptRe...=7be9cc22 (line 47) (?)()() ScriptRe...=7be9cc22 (line 47) (?)()() geoedit.aspx (line 372) (?)()() ScriptRe...=7be9cc22 (line 2399) (?)()() ScriptRe...=7be9cc22 (line 47) form.__EVENTTARGET.value = eventTarget;
I believe this is a timing issues with ASP.NET. I have some code in the MapLoaded event, and I think this extra time it takes to call back to the server is causing the ASP.NET code to break because it isnt done yet. See this thread for an explanation...
http://www.velocityreviews.com/forums/t513603-recieving-error-theform-is-undefined.html
Has anyone else seen this? Is there anything I can do to prevent this?
Thanks CT
|
|
|
|
ctadlock
|
|
Ive confirmed this happens due to the code in the MapLoaded event. If I move the code to the ASP.NET Load method I do no get this error.
CT
|
|
|
|
Chris Pietschmann
|
|
Do you have a code sample that demonstrates this error that you can send me? I'm not sure what code your using that's causing this, so I am unable to duplicate the issue. Thanks.
|
|
|