How to set default compatibility modes in config file?

 Posted by vishalneeraj-24503 on 8/1/2014 | Category: ASP.NET Interview questions | Views: 1477 | Points: 40

If we are running a .NET site, then we can specify the default Compatilbility View for our entire site in the CustomHeaders section of our Web.config file as follows:-

<clear />
<add name="X-UA-Compatible" value="IE=9" />

if we have access to IIS,then we can specify the Compatibility View meta tag using a custom HTTP response header.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response