Solved

ASP.NET Menu control not working in IE 8.0

Posted on 2009-07-13
4
443 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
[X]
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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 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