.NET DropDownList SelectedIndexChange Event Not Firing in IE 10

In IE 10, when a drop down list selected item is changed, nothing happens. It doesn't post back. All other controls work except for drop down lists.

It appears to work when I switch to IE 10 compatibility mode.


Scott Hanselman explains this on his blog.

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


您是否安装了用于IE10的ASP.net修补程序?


Ok, this was a weird issue. The actual problem was that we had a web.config sitting in the very root of the application that had OLD, I'm talking ANCIENT browserCap definitions in there. I'm talking browserCap definitions for Windows TV kind of old.

We removed the browserCap definitions in this file, and all was fine.

If you run into this error, please check for any browser caps that are not in the immediate folder of your project (if you have that sort of setup).

The link in Michael's answer will most likely take care of you if you're experiencing this problem and do not have multiple web.config's in your project.

链接地址: http://www.djcxy.com/p/11522.html

上一篇: Scapy.all导入*不起作用

下一篇: .NET DropDownList SelectedIndexChange事件不在IE 10中触发