Solved

ASP.NET Menu control not working in IE 8.0

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

12 Experts available now in Live!

Get 1:1 Help Now