Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application running from last 3 years on live. But i got this error while i was trying to access login page on IE 9 (Ver : 9.0.8112.16421) with windows 7 but not able to reproduce on other system with same OS and IE version

Error is "<b>Web_Postbackoptions is undefined</b>"

Please note that application was developed in asp.net 1.1 also is working fine in older versions of IE and other browsers too like chrome and mozilla.


Any suggestions ?
Posted

1 solution

Sounds like a Javascript function which is needed to submit the form isn't being created correctly. Search the HTML source for that function; perhaps it is using some deprecated JS syntax which is causing the function declaration to fail. The function will then be set to "undefined" in the object model and when the login button calls it you get your error message.

http://www.xefteri.com/articles/show.cfm?id=18[^]

http://delphi.about.com/library/weekly/aa051705a.htm[^]

ASP.NET registers default postback events with JavaScript, IIRC __doPostBack() was the one I used to call back when I was working with WebForms (thank Gaaawwd those days are over).

Have a looksee at what ASP.NET is rendering. All sorts of weird and wonderful things no doubt.
 
Share this answer
 
Comments
deepakdynamite 16-Nov-11 7:32am    
Thanks for responding. I agree with you till some extent. If i consider this as solution then question is how it is working on other PC having same OS and same IE version ? I am trying to solve this from almost last 1 month but still no luck
Mel Padden 16-Nov-11 10:50am    
I would have to see the options of your Internet Exporer instance, but I have run into problems before where some JavaScript options were disabled for one reason or another. Try comparing the security settings for one pc with those of the other as a starting point.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900