ASP.NET Menu control not working in IE 8.0

Posted on 2009-07-13
Last Modified: 2012-05-07
Hello Experts,

I am having a strange layout for the Asp.Net 2.0 Menu control in IE8.0. It works OK in prevoius IE versions and on all FF versions.

Please see attached screenshots for IE8 and FF

Please advise

<asp:Menu ID="mnuMain" runat="server" BackColor="SteelBlue" BorderStyle="Solid" BorderWidth="1px"
                DynamicHorizontalOffset="2" Font-Bold="True" Font-Names="Verdana" Font-Size="0.8em"
                ForeColor="White" Orientation="Horizontal" StaticSubMenuIndent="10px">
                <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="4px" />
                <DynamicHoverStyle BackColor="PapayaWhip" ForeColor="Black" BorderColor="Black" />
                <DynamicMenuStyle BackColor="SteelBlue" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" />
                <StaticSelectedStyle BackColor="#507CD1" />
                <DynamicMenuItemStyle HorizontalPadding="4px" VerticalPadding="2px" BorderColor="Black" BorderStyle="Solid" BorderWidth="0px" />
                    <asp:MenuItem Text="Web Orders" Value="Orders">
                        <asp:MenuItem NavigateUrl="~/Admin/WebOrders/SearchWebOrders.aspx" Text="Search for a Web Order"
                            Value="Search for an Order"></asp:MenuItem>
                <StaticHoverStyle BackColor="PapayaWhip" ForeColor="Black" BorderColor="Black" />

Open in new window

Question by:newbie27
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 15

Accepted Solution

mohan_sekar earned 300 total points
ID: 24842943
LVL 15

Assisted Solution

jinal earned 200 total points
ID: 24843107

Author Comment

ID: 24843788
thanks folks..

all i have to do is this

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

Expert Comment

ID: 26420703
Set this property in the menu tag DynamicMenuStyle-CssClass="adjustedZIndex"

having a css class as follow

.adjustedZIndex {
    z-index: 100;

z-index should be set to some higher value (e.g. 100)

it should work fine then.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor ( Top Charts is a view in which you can set seve…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question