7

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.

Kate Gregory
  • 18,808
  • 8
  • 56
  • 85
William
  • 1,517
  • 1
  • 12
  • 26

3 Answers3

2

Scott Hanselman explains this on his blog.

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

user1616625
  • 1,072
  • 1
  • 9
  • 15
  • In addition to a link, please copy some text giving a quick explanation and add that to your answer as well. Links eventually die. – Vincent P Nov 06 '14 at 06:29
1

Do you have the ASP.net Hotfix for IE10 installed?

Michael Stum
  • 177,530
  • 117
  • 400
  • 535
  • 2
    Yes. Installed and still not working properly. Javascript is not disabled and other calls to __doPostBack seem to be working fine as all click events seem to work. – William Nov 28 '12 at 22:23
  • Have you set AutoPostBack="True" on the drop down list? – Gheorghe Bulicanu Nov 28 '12 at 22:27
  • Yes. All of them have AutoPostBack set to "true". – William Nov 28 '12 at 22:31
  • Not too sure I can do that. The source doesn't belong to me, belongs to the company I work for. It seems to only happen in IE10 and it seems to only be in IE 10 browser mode. In all other browsers and in all other "browser modes" it works. – William Nov 29 '12 at 02:46
  • I'm not setting the handlers via aspx, but instead am using the codebehind to handle the SelectedIndexChange events on all asp:DropDownLists. – William Nov 29 '12 at 02:49
  • 1
    Michael, I think you are on to something after looking at it more carefully. I don't see __doPostBack in the source and it's not available via the console either. – William Nov 29 '12 at 04:09
0

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.

William
  • 1,517
  • 1
  • 12
  • 26