Is there a way to force IE8 into IE7 compatibility mode using .NET or Javascript?
Open up Internet Explorer (IE 11) Press the Alt key on your keyboard, this will make a menu bar appear. Click on the Tools menu tab. Select the Compatibility View settings option.
Click the Settings and More (ellipsis) button on the top-right corner. Select the Settings option. Click on Default browser. Under the “Internet Explorer compatibility” section, turn on the “Allow sites to be reloaded in Internet Explorer mode” toggle switch to enable IE mode on Edge.
If you add this to your meta tags:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
IE8 will render the page like IE7.
You can do it in the web.config
<httpProtocol> <customHeaders> <add name="X-UA-Compatible" value="IE=7"/> </customHeaders> </httpProtocol>
I have better results with this over the above solutions. Not sure why this wasn't given as a solution. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With