The app always loads in IE9 compatibility view

We have an ASP.NET MVC application that just started to force IE in IE9 Compatibility View on Load. We have added the following to our layout pages

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

      

or

<meta http-equiv="X-UA-Compatible" content="IE=9" />

      

But the page still makes IE run in compatibility mode. The problem is that we only support IE 8 and so when we do server side validation it thinks the browser is IE 7 and tells the user to refresh the browser.

Does anyone know why this browser completely ignores the X-UA-Compatible tag and renders the page in compatibility mode?

+3


source to share


1 answer


Nevermind. This is embarrassing. Maybe my stupidity will save someone else in the future.



enter image description here

+4


source







All Articles