Author: PeteL's Blog : share | Posted on: 4/15/2009 8:47:00 AM | Views : 899

I got an email today asking about the best way to go about adding the X-UA-Compatible tags on ASP.NET pages where you?ve got a master page, and may want to over ride the X-UA-Compatible tag in some content pages, but not others. After playing around with it in Visual Studio for a few minutes, I pulled together the following scenarios: Access To The Server The optimal way to do this, if you have server level access, is to add the IE=EmulateIE7 as an HTTP Response Header from the server. Then, any pages served from that server will be rendered in IE7 mode. If Internet Explorer finds the X-UA-Compatible tag in both the HTTP Response Header, and as a META tag, the META tag will win out. Thus, if you've added the IE=EmulateIE7 to the server,...(read more) ...

Go to the complete details ...