I have a site which has a menu on the MasterPage. There are no subsidiary popups from this menu. On a particular page I want to add another menu in the right sidebar which will have one or more subsidiary pages per menu item. In the .sitemap file I have the following:
Code:
<siteMapNode>
<siteMapNode url="mainMenu.aspx"title="MasterPage Menu"description=""roles="*">
<siteMapNode url="Default.aspx"title="Home"description=""roles="*">
</siteMapNode>
"etc"
</siteMapNode>
<siteMapNode url="ClubRoom.aspx"title="ClubRoom Menu"description=""roles="*">
<siteMapNode url="Fixtures.aspx"title="Fixtures"description=""roles="*">
"Subsidiary nodes to 3 levels"
</siteMapNode>
</siteMapNode>
</siteMapNode>
My menu controls are as follows:
MasterPage
Code:
<asp:SiteMapDataSourceID="RLSBC_MenuProvider"runat="server"ShowStartingNode="False"StartingNodeUrl="mainMenu.aspx"/>
ClubRoom
Code:
<asp:SiteMapDataSourceID="RLSBC_SidebarProvider"runat="server"ShowStartingNode="False"StartingNodeUrl="ClubRoom.aspx"/>
The MasterPage menu displays exactly as I want it. I don't get any errors when the ClubRoom is displayed; but then again I don't get any menu items either.
Is it possible to do what I want?