Shouldn't "X-UA-Compatible IE=edge" Header Override "Display Intranet Sites In Compatibility View" In IE10?
Solution 1:
(I'll put this here because this question ranked higher for my google search, but after more digging I actually found the answer on another SO question: https://stackoverflow.com/a/13287226/1563. I'm not sure if they should be merged (at least not without some question editing))
This is likely happening because IE is set to "Display intranet sites in Compatibility View" (Alt+T | Compatibility View settings)
You can't override this setting using the X-UA-Compatible
meta tag but you can by sending the X-UA-Compatible
http header:
X-UA-Compatible: IE=edge
Credit goes to Lavinski for finding this
Solution 2:
This worked for me, try clearing existing headers before adding the new one or any others.
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=Edge" />
</customHeaders>
</httpProtocol>
Solution 3:
I believe X-UA-Compatible
forces document mode while "Compatibility View" turns on both IE7 browser and document mode -> the document mode was actually overridden by X-UA-Compatible
.
See Difference between "Browser Mode" and "Document Mode" in Internet Explorer
Post a Comment for "Shouldn't "X-UA-Compatible IE=edge" Header Override "Display Intranet Sites In Compatibility View" In IE10?"