I recently inherited an ASP.NET website that works in every browser we've tested except IE 10/11 (works fine in 9 and previous). When refreshing the page with the console open, it appears that Sys.WebForms is undefined in IE and not in other browsers. Running in compatibility mode does not solve this.
Here's the layout of the site.
Master file
<head>
<script type="text/javascript" src="<%# Page.ResolveClientUrl("~/Scripts/Scripts.js") %>"></script>
</head>
...
<body>
...
<form id="Tabs_Form" runat="server">
<asp:ScriptManager ID="Scriptmanager1" runat="server" EnablePartialRendering="true" EnablePageMethods="true" ScriptMode="Release"></asp:ScriptManager>
<script type="text/javascript">
function SetUpPageHandlers() {
PageRequest = Sys.WebForms.PageRequestManager.getInstance();
PageRequest.add_initializeRequest(InitializeRequestHandler);
PageRequest.add_beginRequest(BeginRequestHandler);
PageRequest.add_endRequest(EndRequestHandler);
PageRequest.add_pageLoaded(PageLoadHandler);
}
...
Scripts.js
$(document).ready(function () {
...
SetUpPageHandlers();
});
When examining the Sys variable in the console in IE 11, it only has the following members.
__namespace
__rootNamespaces
__typeName
__upperCaseTypes
_jsonp
Application
Browser
Debug
Net
Res
Serialization
UI
In other browsers, it includes way more members. Does anyone have any ideas what's causing this to act up in IE 10/11?