SiteMap and Roles

here's my 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" users="*" description="Home Page">
<siteMapNode url="" title="Honda" description="Honda">
<siteMapNode url="partlists.aspx" title="Lighted Accessories" description="Lighted Accessories" />
</siteMapNode>
<siteMapNode url="login.aspx" title="Login" description="Login" />
<siteMapNode url="admin/default.aspx" title="Admin" description="Admin" />
</siteMapNode>
</siteMap>

I have security trimming set to true in my web.config file and I set the locations to allow the admin role access to the bottom link admin/default.aspx. It all works fine until I add the bolded parent element to my dropdown menu. Can someone tell me how I can use roles and still have the drop down menu work. I have alot more menu to add below Honda and other bike manufacturers.

Thanks for the help.
JoeyDI changed my config file a little bit to allow for the drop down to work. I am pretty sure this isn't the proper way to do this still. I placed a "#" in the url tag instead of leaving it zero string length. then in my web.config file I add this to control it.

<system.web>
<location path="#">
<authorization>
<allow roles="admin"/>
<deny users="*"/>
</authorization>
</location>
</system.web>

<siteMapNode url="" title="Honda" description="Honda">
<siteMapNode url="partlists.aspx" title="Lighted Accessories" description="Lighted Accessories" />
</siteMapNode>
 
Back
Top