The client-side scripts that are loaded into IE 11 using ASP.NET 4.0 (version 4.0.30319) seem to be incorrect.
Specifically, the bool __nonMSDOMBrowser
is incorrectly set to true for IE 11 because of the following code:
var __nonMSDOMBrowser = (window.navigator.appName.toLowerCase().indexOf('explorer') == -1);
IE 11 has a changed user agent, so this code no longer works.
I found out the above because of problems we're having with the WebForm_AutoFocus function that is unique to IE 11 and tracing through the code, I noticed that this bool was incorrect.
My question, then, is has Microsoft released an update to ASP.NET (4.0) to support IE 11? Has anyone else run into this problem? In the meantime, we might hack the bool and correct it's value with our own added script, but obviously would prefer not to.