Solved

ASP.NET Menu control not working in IE 8.0

Posted on 2009-07-13
4
439 Views
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

Thanks
S
<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" />

                <Items>

                    <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>

                    </asp:MenuItem>

 </Items>

                <StaticHoverStyle BackColor="PapayaWhip" ForeColor="Black" BorderColor="Black" />

            </asp:Menu>

Open in new window

ff.gif
ie8.gif
0
Comment
Question by:newbie27
4 Comments
 
LVL 15

Accepted Solution

by:
mohan_sekar earned 300 total points
ID: 24842943
0
 
LVL 15

Assisted Solution

by:jinal
jinal earned 200 total points
ID: 24843107
0
 
LVL 8

Author Comment

by:newbie27
ID: 24843788
thanks folks..

all i have to do is this

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

Expert Comment

by:Rositta
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now