Pages

Thursday, August 9, 2012

How to add http header into ASP.NET development server, Cassini, to change document mode in IE?

Add following line in Global.asax
        protected void Application_BeginRequest() {
            HttpContext.Current.Response.AddHeader("X-UA-Compatible", "IE=edge");
        }