Solved

Is There an ASP.NET Menu Control that works with Google Chrome

Posted on 2013-01-28
3
450 Views
Last Modified: 2013-01-29
The following html works with IE.

The Google Chrome browser does not properly render the menu.

Suggestions?

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal"
            BorderStyle="Solid" DynamicHorizontalOffset="3">
   
            <StaticSelectedStyle BackColor="#00FF99" />
            <DynamicHoverStyle BackColor="#FFFF66" BorderStyle="Solid" />
            <DynamicMenuItemStyle BorderColor="Black" BorderStyle="Solid" />
   
           <Items>
             <asp:MenuItem Text="File" Value="File"></asp:MenuItem>
             <asp:MenuItem Text="Edit" Value="Edit">
                <asp:MenuItem Text="Edit1" Value="Edit">
                </asp:MenuItem>
             </asp:MenuItem>
             <asp:MenuItem Text="View" Value="View"></asp:MenuItem>
             <asp:MenuItem Text="WebSite" Value="WebSite"></asp:MenuItem>
       </Items>
        </asp:Menu>
0
Comment
Question by:Dovberman
3 Comments
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 300 total points
Comment Utility
0
 
LVL 41

Expert Comment

by:guru_sami
Comment Utility
@Dovberman,
Can you show how is it rendering in IE and Chrome? I place your code and it looks fine.
Except I had to add this for hover style on static items.

<StaticHoverStyle  BackColor="#FFFF66" BorderStyle="Solid" />

Open in new window

0
 

Author Closing Comment

by:Dovberman
Comment Utility
Thank you.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

771 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

10 Experts available now in Live!

Get 1:1 Help Now