prakash
prakash

Reputation: 73

My MVC3 website always opens in IE compatability view

I am developing new web site using MVC3 and jQuery, but while I was running, website always opens in IE8 or IE9 compatability view.

What do I have to do to open in standard mode?

Is there anything I can do these check in developer tools provided in IE?

Upvotes: 2

Views: 2056

Answers (2)

Alexander Taran
Alexander Taran

Reputation: 6725

Tell IE to use the latest rendering mode add a meta tag to your layout page
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

Upvotes: 11

John Hartsock
John Hartsock

Reputation: 86862

If your website is located under your IntraNet then it will always display in Compatability view by default (This is a default setting for IE 8 and IE 9). To change this:

Go to Tools | Compatability View Settings

Then uncheck the box that says "Display intranet sites in Compatibility View"

And Make sure "Display all websites in Compatibility View" is not checked.

Upvotes: 2

Related Questions