Jeff Sanders Technical Blog

I am a Microsoft employee that has worked on all aspects of the Web Stack for a long time. I hope these blogs are useful to you! Use this information at your own risk.


<< Go Back

Asp Net Aspmenu Does Not Display Child Menu Items In Ie 8

- 06 Apr 2009

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<p style="MARGIN: 0in 0in 10pt" class=MsoNormal>

<?xml:namespace prefix = o />

http://support.microsoft.com/kb/962351</font></o:p></p> <p style="MARGIN: 0in 0in 10pt" class=MsoNormal>Has the hotfix to apply to your server. </p> <p mce_keep="true">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.</p> <p mce_keep="true">I found two workarounds:</p>

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: <p style="MARGIN: 0in 0in 0pt 0.25in" class=MsoNormal>

.DynamicMenuZIndex<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /></p> <p style="MARGIN: 0in 0in 0pt 0.25in" class=MsoNormal>

{</p> <p style="MARGIN: 0in 0in 0pt 0.25in" class=MsoNormal>z-index: 999;</p> <p style="MARGIN: 0in 0in 0pt 0.25in" class=MsoNormal>}</p>

    and then apply it to the menu:<p style="MARGIN: 0in 0in 0pt" class=MsoNormal>

«/span>DynamicMenuStyle CssClass=”DynamicMenuZIndex”/></p> <p style="MARGIN: 0in 0in 0pt" class=MsoNormal> </p> <p style="MARGIN: 0in 0in 0pt" class=MsoNormal><font color=#000000 face=Arial>Let me know if this helped you!</font></p>

<< Go Back