3

I have simple (no ajax, no update panels) Asp.net application with a form which contains a server side DropdownList control. It works fine in all browsers except IE 10. DropdownList does not fire OnSelectedIndexChanged event. If I enable Compatibility view in IE 10 again it works. But I'm not able to get it working for normal mode in IE 10.

I read - .NET DropDownList SelectedIndexChange Event Not Firing in IE 10 and subsequent links in the answers. But nothing has helped yet. Anybody else has encountered this issue before?

Community
  • 1
  • 1
Codie
  • 464
  • 2
  • 5
  • 16

2 Answers2

4

yes it wont work... it is IE10 draw-back.

To make it work properly, you need to make you application IE10 compatible by adding a file "ie.browser" in App_Browser folder... Check this out

salah9
  • 502
  • 1
  • 10
  • 21
  • As I said in the question itself, I did got to this link with the link I mentioned in my question. I installed the hotfix what Scott suggested but that did not work. Now I took those raw files and replaced my self and can see it working now. thanks! – Codie Jun 04 '13 at 10:46
  • 1
    For me in IE11 following solution works http://stackoverflow.com/a/20422240/2089963 it also similar to HotFix u provided – Syed Mohamed Feb 12 '14 at 14:49
0

The issue is ASP.NET browser definitions do not recognize IE10 so it defaults to a down-level definition, which has certain inconveniences, like that it does not support features like JavaScript.

An alternative to the machine wide hotfix(s) or site level App_Browser solutions is to simply add Page.ClientTarget = "uplevel" to the Page_Init method in the code behind.

Example:

private void Page_Init(object sender, EventArgs e)
{
    Page.ClientTarget = "uplevel";     
}
Baxter
  • 5,633
  • 24
  • 69
  • 105