ASP.NET asp:menu does not display Child Menu items in IE 8
Strange. I found in my personal website the Child menus were not showing when I hovered over the root menu item.
There is nothing special about the menus. They are standard asp:menu items created when I dragged the menu tool from the navigation tools in Visual Studio 2008.
UPDATE: Fix
https://support.microsoft.com/kb/962351
Has the hotfix to apply to your server.
In my case my site was hosted by another company and I did not have access to update asp.net on the server, so I chose workaround #2.
I found two workarounds:
1. Add the IE7 compatability Meta information: IE=EmulateIE7
https://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx#SetMode
2. Add this style:
.DynamicMenuZIndex
{
z-index: 999;
}
and then apply it to the menu:
<DynamicMenuStyle CssClass="DynamicMenuZIndex"/>
Let me know if this helped you!
Comments
Anonymous
April 06, 2009
Thanks it did help me. www.janaakrosh.org siteAnonymous
August 21, 2009
workaround #2, great. Thank you very much.Anonymous
October 27, 2009
Option 2 worked just fine, thats for posting this.Anonymous
November 14, 2009
I found that option 2 causes the menu to not work properly in Safari and Chrome.Anonymous
November 16, 2009
I see a bunch of info on the net regarding z-index problems with Safari and Chrome. Can you insert code to test the browser platform to work around the issue?Anonymous
November 18, 2009
The second option worked fine. ThanksAnonymous
March 01, 2010
The second option worked fine, thanksAnonymous
July 11, 2010
Thank you very much ... Second one is working fine...........Anonymous
July 21, 2010
The 2nd one is worked fine.. Thank you very muchAnonymous
August 08, 2010
Second one helped me, Thanks for the post.Anonymous
November 18, 2010
The 2nd solution is working fine. Thanks......Anonymous
December 04, 2010
Hi, I am new to this. Could you tell me how to add the style please? thxAnonymous
December 08, 2010
Simply add the style to your .css stylesheets. You can put it at the top of the .css file if you wish.Anonymous
May 18, 2011
The comment has been removedAnonymous
June 10, 2011
I used workaround#2 It really helped me. thanks a lot :)Anonymous
September 04, 2012
This helped. Thank you!Anonymous
October 17, 2012
thaks...Anonymous
August 13, 2014
I used workaround #2. Thanks