Solved

ASP.NET Menu control not working in IE 8.0

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 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