I am aware of how to force IE into viewing a page in document compatibility, but what about browser compatibility view?
I have a project that only works when IE9 is in browser compatibility view for various reasons, yet I can't find any resources on how to force IE9 to do so.
Everyone only talks about forcing the document compatibility, e.g. using
<meta http-equiv="X-UA-Compatible" content="IE=8" />
But that doesn't work in my case, because it only sets the document view. Is there a way to set the browser view, too?
PS: To make it abundantly clear, this is the setting I need to enforce:
See MSDN documentation.
You should use emulateIE7 since compatibility mode is kind of IE7:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
Edit
If the above does not work, the other options are really poor.
Quoting from the link above:
The above are, AFAIK, the only causes for compatibility mode.
Unless you are prepared to contact Microsoft directly to have your website added to the global blacklist, there isn't much you can do (unless you want to wrap your site in a frame that originates from a blacklisted domain).