menuitem - ASP.Net Menu Control - Horizontal - Not Showing Sub Options -
i trying use asp:menu control. rather simple. want horizontal. each of first level items have sub items. can horizontal , when hover on instant reports or configurable reports choice seems pop down div or empty. have tried formatting , can think of find on internet. doing wrong?
<asp:menu id="mnuchoices" runat="server" orientation="horizontal" datasourceid="dssitemap"> </asp:menu> <asp:sitemapdatasource id="dssitemap" runat="server" showstartingnode="false" />
here sitemap file.
<?xml version="1.0" encoding="utf-8" ?> <sitemap xmlns="http://schemas.microsoft.com/aspnet/sitemap-file-1.0"> <sitemapnode url="" title="menuitems" description=""> <sitemapnode url="" title="instant reports" description=""> <sitemapnode url="" title="current system health" description=""> <sitemapnode url="~/configurablereports/propcredit30/testlog.aspx" title="test" description=""></sitemapnode> </sitemapnode> <sitemapnode url="" title="credit on renewal" description="" /> </sitemapnode> <sitemapnode url="" title="configurable reports" description=""> <sitemapnode url="~/configurablereports/propcredit30/auditlog.aspx" title="prop credit 3 - audit log" description="" /> <sitemapnode url="~/configurablereports/propcredit30/errorlog.aspx" title="prop credit 3 - failure log" description="" /> </sitemapnode> </sitemapnode>
this seems easy. missing?
tia
sounds problem had menu, occurred in ie8... ie8 handled z-index wrong. simple fix luckily:
<asp:menu id="mnuchoices" runat="server" orientation="horizontal" datasourceid="dssitemap"> <dynamicmenustyle cssclass="submenu" /> </asp:menu>
css:
.submenu {z-index: 9999; /* ie8 fix asp:menu */}
Comments
Post a Comment