[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 472
  • Last Modified:

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

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
Dovberman
Asked:
Dovberman
1 Solution
 
Manoj PatilSr. Software EngineerCommented:
0
 
guru_samiCommented:
@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
 
DovbermanAuthor Commented:
Thank you.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now