Set or Override Browser Mode and Document mode IE
There are two ways we can achieve it
1. Using meta tag inside <head> tag
<meta http-equiv="X-UA-Compatiable" content="IE=edge">
2. From Web.Config
<system.webServer>
1. Using meta tag inside <head> tag
<meta http-equiv="X-UA-Compatiable" content="IE=edge">
2. From Web.Config
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=edge"/>
</customHeaders>
</httpProtocol>
</system.webServer>
Note: Above give code is for IE9
Comments
Post a Comment