Home Remove IE Edge compatibility for particular aspx page
Reply: 1

Remove IE Edge compatibility for particular aspx page

Sathish Ravichandran
1#
Sathish Ravichandran Published in 2018-02-14 07:26:44Z

We are currently developing project with IE edge Compatibility so we added below code in web.config for making compatibility for all pages

<httpProtocol>
  <customHeaders>
    <clear />
    <add name="X-UA-Compatible" value="IE=Edge" />
  </customHeaders>
</httpProtocol>

so now I want to remove this compatibility for particular page alone how its possible, kindly suggest some solution to fix this. Thanks in advance.

Musab
2#
Musab Reply to 2018-02-14 12:11:41Z

Add the below code on the particular page

<head> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" > </head>


options include:IE=5, IE=7, IE=8,IE=edge

OR

Add the below code on the page load of that particular page

Response.ClearHeaders(); Response.AddHeader("X-UA-Compatible", "IE=5");

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.302846 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO