dopostback not defined when using ie11

2019-08-25 01:45发布

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

2条回答
虎瘦雄心在
2楼-- · 2019-08-25 02:32

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.

查看更多
放荡不羁爱自由
3楼-- · 2019-08-25 02:39

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

查看更多
登录 后发表回答