.NET的DropDownList SelectedIndexChange事件不触发在IE浏览器10 [英] .NET DropDownList SelectedIndexChange Event Not Firing in IE 10

查看:185
本文介绍了.NET的DropDownList SelectedIndexChange事件不触发在IE浏览器10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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.

当它出现时我切换到IE浏览器10兼容模式下工作。

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

推荐答案

好了,这是一个奇怪的问题。实际的问题是, 我们有一个web.config坐在应用的根源的有老了,我说的是古代browserCap定义在那里。我说browserCap定义为Windows电视慈祥的老人​​。

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.

我们删除该文件中的browserCap定义,一切都很好。

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).

在迈克尔的回答链接将最有可能照顾你,如果你遇到了这一问题,并没有多个web.config文件在您的项目。

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.

这篇关于.NET的DropDownList SelectedIndexChange事件不触发在IE浏览器10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆