Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ASP.NET Menu control not working in IE 8.0

Posted on 2009-07-13
4
Medium Priority
?
447 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 1200 total points
ID: 24842943
0
 
LVL 15

Assisted Solution

by:jinal
jinal earned 800 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

Industry Leaders: 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

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

916 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