Avatar of NJThomson
NJThomson asked on

Forcing IE 10 to IE 9 mode.

Our application runs in IE 10 mode, but a 3rd party server we access to display documents in an Iframe does not. We have found by using the Developer Tools that if we set the Browser Mode to IE 10 compat mode and Document Mode: IE9 that both our app and the 3rd Party is happy.

However, IE 10 seems entirely resistant to metatags in the web page:
  <meta http-equiv="X-US-Compatible" content="IE9" />

or even registry changes:
 
\HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\mail\FeatureControl\FEATURE_BROWSER_EMULATION
iexplorer.exe = 9999 (decimal)

Running IE 10 on Win 7 or Win 2008 R2
Internet Protocols.NET ProgrammingASP.NET

Avatar of undefined
Last Comment
NJThomson

8/22/2022 - Mon
Ironhoofs

It looks like you misspelled the http-equiv: "X-US-Compatible" instead of "X-UA-Compatible".

Please try the following:
<meta http-equiv="X-UA-Compatible" content="IE=9">

Open in new window

ASKER
NJThomson

Miss-typed the question (and can't edit).

Actually we've tried the following variations - with no impact.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
ASKER CERTIFIED SOLUTION
NJThomson

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Ironhoofs

My guess would be that you use a doctype declaration. According to various sources, IE10 will disregard the "x-ua-compatible" tag if a doctype declaration is found. Removing the doctype declaration should fix this.

For more information:
IE10 and X-UA-Compatible
IE Dev Center: Specifying legacy document modes
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER
NJThomson

We resolved the problem ourselves from other various posts around the web.

We've included solved the problem and other things we learned in the last comment