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");
        }

1 comment:

  1. I am fresher in Asp.Net Development. Can you explain me how to change document mode in IE?
    I need some knowledge regarding ASP.NET development server.

    ReplyDelete