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


http://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
http://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 (18)

  1. kanchirk says:

    Thanks it did help me. http://www.janaakrosh.org site

  2. Coxi says:

    workaround #2, great. Thank you very much.

  3. Drew says:

    Option 2 worked just fine, thats for posting this.

  4. Drew says:

    I found that option 2 causes the menu to not work properly in Safari and Chrome.

  5. Jeff Sanders says:

    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?

  6. Ankit Jain says:

    The second option worked fine. Thanks

  7. George says:

    The second option worked fine, thanks

  8. Venkata Raidu says:

    Thank you very much … Second one is working fine………..

  9. Jai says:

    The 2nd one is worked fine.. Thank you very much

  10. Aditya Vemuri says:

    Second one helped me, Thanks for the post.

  11. Rajiv says:

    The 2nd solution is working fine. Thanks……

  12. olga says:

    Hi, I am new to this. Could you tell me how to add the style please? thx

  13. Jeff Sanders says:

    Simply add the style to your .css stylesheets.  You can put it at the top of the .css file if you wish.

  14. puzzled says:

    I added workaround #1 to the head of my master page and it worked fine.  This has been nagging me for over a year!  Luckily I haven't had to touch the code base until now.  thanks much!

  15. Anu Garg says:

    I used workaround#2 It really helped me. thanks a lot 🙂

  16. llp says:

    This helped. Thank you!

  17. Zahid says:

    I used workaround #2. Thanks

Skip to main content