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

Strongly Typed Data Controls and Modal Binding in ASP.NET 4.5

http://brijbhushan.net/2012/07/01/strongly-typed-data-controls-and-modal-binding-in-asp-net-4-5-part-1/

Strongly Typed Data Control