Link Button not working with IE 10

隐身守侯 提交于 2019-11-28 01:01:41

问题


I have an problem related to Link Button Click event in asp.net on Internet Explorer 10.Link Button click event is not firing. It shows the javascript error

SCRIPT5009: '__doPostBack' is undefined

I have Windows Server 2008 Standard Without Hyper-v(6.0, Build 6001) on my system. I tried to fix this problem by Patch provided by Microsoft but that didn't work.I hope you understand my question very well and will give meaningful answer's.

Thanks in advance.


回答1:


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




回答2:


meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"

meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"

meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"




回答3:


Use compatibility meta tags for ie10 which makes your application to run in ie9

i.e.use meta tags for backward compatibility



来源:https://stackoverflow.com/questions/16143555/link-button-not-working-with-ie-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!