简体   繁体   中英

dopostback not defined when using ie11

Today I have upgraded my browser to IE11.

The problem is that I have a ASP.NET site, that fails with dopostback not defined when clicking a linkbutton from the production site.

When debugging in VS2012 I get "this page can not be shown".

Do I really need to downgrade to ie10, to debug in ie again ?

I'm using Win7 on my local PC

See here for fixes:

http://www.hanselman.com/blog/IE10AndIE11AndWindows81AndDoPostBack.aspx

Basically this is fixed in ASP.NET 4.5 but there is also an older patch for all versions of the .NET framework.

Problem occurred cause of: There is a bug in the browser definition files that shipped with .NET 2.0 and .NET 4, namely that they contain definitions for a certain range of browser versions. But the versions for some browsers (like IE 10) aren't within those ranges any more. Therefore, ASP.NET sees them as unknown browsers and defaults to a down-level definition, which has certain inconveniences, like that it does not support features like JavaScript.

I also had same problem,I followed this article, and I'm sorted. Go through below link, It would help for sure.

fix

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM