This is a migrated thread and some comments may be shown as answers.

IE8/9 Defaults to IE7 Compatibility Mode for Intranet Sites

3 Answers 128 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian Workman
Top achievements
Rank 2
Brian Workman asked on 02 Jun 2011, 11:39 PM
Just an FYI.  I ran into an odd problem where the page layout changed depending on whether I ran it locally or off of an Intranet Web Server.  Turns out IE8/9 goes to IE7 Compatibility by default for Intranet Sites - and it's not obvious that it's doing this.  It was affecting alignment of some Telerik controls that I was using.

In IE8/9, if you go to Tools -> Compatibility View Settings - you'll see that 'Display intranet sites in Compatibility View' mode is checked by default.  A good bet may be to have this disabled in Group Policy.

3 Answers, 1 is accepted

Sort by
0
John Seifert
Top achievements
Rank 1
answered on 08 Jun 2011, 02:51 PM
I added

 

 

<meta http-equiv="X-UA-Compatible" content="IE=9" >
to the head tag and it solved my problem.

The new issue I have is that the latest release of Rad Controls do not work properly in IE8.  Anyone else have this issue?

 

0
Brian Workman
Top achievements
Rank 2
answered on 08 Jun 2011, 04:30 PM
IE=9 or IE=Edge didn't work for Intranet... it goes to compatibility mode immediately and does not bother to try the mode specified in the meta tag.
0
John Seifert
Top achievements
Rank 1
answered on 08 Jun 2011, 05:45 PM
That's strange.  When running my page through VS 2010 it was running as IE9.  When deployed to the server it ran as IE7.  The meta tag above foreced it to run as IE9 from my intranet.

I now had to make it run as IE8 because the networking guys don't want to update the users to IE9... I had to take out the Ajax Manager because it wouldn't work in IE8 compatability mode
Tags
General Discussions
Asked by
Brian Workman
Top achievements
Rank 2
Answers by
John Seifert
Top achievements
Rank 1
Brian Workman
Top achievements
Rank 2
Share this question
or