A website that was deployed has crashed, and it is because it is rendering it in "IE7 Strict". This test was determined by the following code snippet:
var vMode = document.documentMode;
var rMode = 'IE5 Quirks Mode';
if(vMode == 8){
rMode = 'IE8 Standards Mode';
} else if(vMode == 7){
rMode = 'IE7 Strict Mode';
}
alert('Rendering in: ' + rMode);
This is an ASP Web application.
I was thinking that if it were opened with IE11, it would render it in IE11. It seems that is definitely NOT the case.
How would i resolve this? Do i have to add something to the config file of my WebApplication, or is an IE module that needs to be removed? Are there meta tags i need to append to the MasterPage Header?