Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Friday, July 13, 2012
How to put meta tag into Orchard theme?
In layout.cshtml file, add following code:
@using (Script.Head())
{
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
}
How to avoid compatibility view and quirk mode in IE?
Add this header into IIS setting, HTTP Response headers
<
meta
http-equiv
="X-UA-Compatible"
content
="IE=edge">
In IIS 7
http://weblogs.asp.net/joelvarty/archive/2009/03/23/force-ie7-compatibility-mode-in-ie8-with-iis-settings.aspx
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)