J
Jeff
hi
asp.net 3.5
Below you see the markup of my menu control, it's sitemap and web.config
settings. The problem is that everything under Administrator isn't
displayed. What happens when I hover the mouse over Administrator is that a
white area is shown, this white area disappear after a couple of seconds
despite my mouse is hovering over the white area....
why isn't the menutiems under Administrator displayed?
<asp:RoleGroup Roles="Administrator">
<ContentTemplate>
<asp:Menu ID="Menu1" runat="server" SkinID="menu"
CssClass="menu"
DataSourceID="smdsAdministrator"
StaticDisplayLevels="2"
Orientation="Horizontal">
</asp:Menu>
<asp:SiteMapDataSource ID="smdsAdministrator" runat="server"
SiteMapProvider="Administrator" />
</ContentTemplate>
</asp:RoleGroup>
<siteMap>
<providers>
<add name="Administrator" type="System.Web.XmlSiteMapProvider"
siteMapFile="~/Sitemaps/Administrator.sitemap"/>
<add name="Anonymous" type="System.Web.XmlSiteMapProvider"
siteMapFile="~/Sitemaps/Anonymous.sitemap"/>
<add name="Normal" type="System.Web.XmlSiteMapProvider"
siteMapFile="~/Sitemaps/Normal.sitemap"/>
</providers>
</siteMap>
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/Default.aspx" title="Home" description="">
<siteMapNode url="~/Pages/Default1.aspx" title="test1" description=""
/>
<siteMapNode url="~/Pages/Default2.aspx" title="test2" description=""
/>
<siteMapNode url="~/Pages/Default3.aspx" title="test3 description="" />
<siteMapNode url="~/Pages/Default4.aspx" title="test4 description="" />
<siteMapNode url="~/Pages/Default5.aspx" title="test5" description=""
/>
<siteMapNode url="~/Administration.aspx" title="Administration"
description="" >
<siteMapNode url="~/Admin/ManageTest1.aspx" title="Test1"
description="" />
<siteMapNode url="~/Admin/ManageTest2.aspx" title="Test2"
description="" />
<siteMapNode url="~/Admin/ManageTest3.aspx" title="Test3"
description="" />
<siteMapNode url="~/Admin/SqlExceptions.aspx" title="SqlExceptions"
description="" />
</siteMapNode>
</siteMapNode>
</siteMap>
asp.net 3.5
Below you see the markup of my menu control, it's sitemap and web.config
settings. The problem is that everything under Administrator isn't
displayed. What happens when I hover the mouse over Administrator is that a
white area is shown, this white area disappear after a couple of seconds
despite my mouse is hovering over the white area....
why isn't the menutiems under Administrator displayed?
<asp:RoleGroup Roles="Administrator">
<ContentTemplate>
<asp:Menu ID="Menu1" runat="server" SkinID="menu"
CssClass="menu"
DataSourceID="smdsAdministrator"
StaticDisplayLevels="2"
Orientation="Horizontal">
</asp:Menu>
<asp:SiteMapDataSource ID="smdsAdministrator" runat="server"
SiteMapProvider="Administrator" />
</ContentTemplate>
</asp:RoleGroup>
<siteMap>
<providers>
<add name="Administrator" type="System.Web.XmlSiteMapProvider"
siteMapFile="~/Sitemaps/Administrator.sitemap"/>
<add name="Anonymous" type="System.Web.XmlSiteMapProvider"
siteMapFile="~/Sitemaps/Anonymous.sitemap"/>
<add name="Normal" type="System.Web.XmlSiteMapProvider"
siteMapFile="~/Sitemaps/Normal.sitemap"/>
</providers>
</siteMap>
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/Default.aspx" title="Home" description="">
<siteMapNode url="~/Pages/Default1.aspx" title="test1" description=""
/>
<siteMapNode url="~/Pages/Default2.aspx" title="test2" description=""
/>
<siteMapNode url="~/Pages/Default3.aspx" title="test3 description="" />
<siteMapNode url="~/Pages/Default4.aspx" title="test4 description="" />
<siteMapNode url="~/Pages/Default5.aspx" title="test5" description=""
/>
<siteMapNode url="~/Administration.aspx" title="Administration"
description="" >
<siteMapNode url="~/Admin/ManageTest1.aspx" title="Test1"
description="" />
<siteMapNode url="~/Admin/ManageTest2.aspx" title="Test2"
description="" />
<siteMapNode url="~/Admin/ManageTest3.aspx" title="Test3"
description="" />
<siteMapNode url="~/Admin/SqlExceptions.aspx" title="SqlExceptions"
description="" />
</siteMapNode>
</siteMapNode>
</siteMap>