IE10 SCRIPT5009: ‘__doPostBack’ is undefined
I am facing a problem on IE10 with ASP.NET controls that requires JavaScript post back[like, link button].
I am facing a problem on IE10 with ASP.NET controls that requires JavaScript post back[like, link button].
It seems like ASP.NET 4.0 is not prepared to handle ImageButton events triggered by Internet Explorer 10. The problem is that IE10 sends the image click coordinates as double values (with decimals), and ASP.NET tries to parse them as integers, presenting the following type of error:
I am for the moment just including jQuery (1.9.1, but old 1.8.3 behaved the same way) in my ASP.net webpage (Site.Master file actually). Everything worked fine running under IE9/Win7-64 but ever since I upgraded to IE10 (still Win7-64), now when I run the webpage locally, selecting Internet Explorer and run from within Visual Studio, I hit an exception.
I have an ASP.Net MVC3 site using RedirectToAction like so:
Recently, we tested our products on IE10 and encountered a problem about that server button control “Asp:ImageButton” are not be fired on IE10 with UpdatePanel.
And the below is the sample code: