Dear all,
I have created a menu for my web page using ASP.net 2.0 Menu Control. This stuff is working fine when view in IE 8.0 but when I am testing it on Chrome, it is NOT showing the sub-menu poping sideways. Moreover the menu itself is displaying funny. The code is as under:
<asp:Menu ID="Menu1" runat="server" BackColor="#E3EAEB" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#666666" StaticSubMenuIndent="10px">
<Items>
<asp:MenuItem Text = "Part I" Value="Part I">
<asp:MenuItem Text = "Chapter 1" Value="Chapter 1"></asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem Text = "Part II" Value="Part II">
<asp:MenuItem Text = "Chapter II" Value="Chapter II" />
<asp:MenuItem Text = "Chapter III" Value="Chapter III" />
</asp:MenuItem>
</Items>
<StaticSelectedStyle BackColor="#1C5E55" />
<StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicHoverStyle BackColor="#666666" Font-Bold="False" ForeColor="White" />
<DynamicItemTemplate>
<%# Eval("Text") %>
</DynamicItemTemplate>
<DynamicMenuStyle BackColor="#E3EAEB" />
<DynamicSelectedStyle BackColor="#1C5E55" />
<DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
<StaticHoverStyle BackColor="#666666" Font-Bold="False" ForeColor="White" />
<StaticItemTemplate>
<%# Eval("Text") %>
</StaticItemTemplate>
</asp:Menu>
The details are being picked up from Web.Sitemap file which is as under:
<?xml version="1.0" encoding="utf-8" ?>
<sitemap>
<sitemapnode url="Default.aspx" title="Home">
<sitemapnode title="Products" description="Our Products">
<sitemapnode>
url="Product1.aspx"
title="ASP.NET TicTacToe"
description="Tic Tac Toe for ASP.NET" />
<sitemapnode>
url="Product2.aspx"
title="ASP.NET Checkers"
description="Checkers for ASP.NET" />
<sitemapnode title="Services" description="Our Services">
<sitemapnode>
url="Service1.aspx"
title="ASP.NET Consulting"
description="Best ASP.NET Consulting" />
<sitemapnode>
url="Service2.aspx"
title="ASP.NET Training"
description="Best ASP.NET Training" />
Please suggest a corrective option which can help this situation (I do not want to use Javascript).
Thanking you all in advance.
regards,
IB