Posts

Showing posts from September, 2013

Enable Compatibility mode in IE

Introduction As there are new releases of IE(Internet Explorer) coming out regularly with new features and functionalities, it is not required for legacy page/site to support latest version of the browser. So, for this reason compatibility mode is been introduced in IE8 onwards. Problem I have an ASP.NET MVC web application, I want it to run in IE8 or IE9 compatiblity mode in IE10 as our client uses only IE8 or IE9 and we have IE10 in our work stations. Lets see how can we acheive this. Solution We can achieve this by setting the value of the compatiblity mode. Web page can specify compatibility mode either by using META tag or by setting the http header, note that META tag will take precedence over http header when both are present. Sol 1: META Tag- place the following code in head element of web page(html page) < meta http-equiv =" X-UA-Compatible" content =" IE=8, IE=9" / > it is not only applicable for IE but also for other browsers like chrome &l