IE 8 broke my ASP.Net Menu

Last night I upgraded to Internet Explorer 8, thinking that I wanted to be on the “latest and greatest” version of IE.    I should have known better.

About 10 minutes before a customer demo of a project I have been working on for a while now, I realize that it has broken my ASP.net AJAX Controls menu.   I didn’t want to but I had to reschedule the meeting.   After a little bit of tinkering and searching, I found a solution to the problem.  Insert a meta tag to force the browser to emulate IE7.  To do so, use the following in our code:

   1: <head>
   2:   <!-- Use IE7 mode -->
   3:   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   4:   <title>My Web Page</title>
   5: </head>

I haven’t found any good explanation of why this happens other that the usual “standards based “ browser stuff.

If you can explain it..  Leave a comment below.

StumbleUpon It!

If you found this page useful, consider linking to it.
Simply copy and paste the code below into your web site (Ctrl+C to copy)
It will look like this: IE 8 broke my ASP.Net Menu


Enjoy this post? Please consider leaving a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

[...] IE 8 broke my ASP Net Menu Tree Rat Fishing Posted by root 1 hour 3 minutes ago (http://www.treeratfishing.com) If you can explain it leave a comment below technorati tags asp how to remove non present devices from vm middot wordpress 2 6 2 security release Discuss  |  Bury |  News | IE 8 broke my ASP Net Menu Tree Rat Fishing [...]

Leave a comment

(required)

(required)