Nick Olsen
Nick Olsen

Reputation: 6369

Application Always Loading in IE9 Compatibility View

We have an ASP.NET MVC application that just recently started forcing IE into IE9 Compatibility view when loading. 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 forces IE to compatibility mode. The issue is that we only support IE 8 and up so when we perform our server side check, it thinks the browser is IE 7 and tells the user to upgrade their browser.

Anyone know why a given browser would completely ignore the X-UA-Compatible tag and render the page in compatibility mode?

Upvotes: 3

Views: 891

Answers (1)

Nick Olsen
Nick Olsen

Reputation: 6369

Nevermind. That's embarrassing. Maybe my stupidity will save someone else in the future.

enter image description here

Upvotes: 4

Related Questions