Re: web.sitemap question
- From: "johnb41" <jsbuchmann@xxxxxxxxx>
- Date: 23 Nov 2005 09:58:37 -0800
Just figured it out. Here's the solution:
<siteMap>
<siteMapNode>
<siteMapNode title="Home" />
<siteMapNode title="Support" />
<siteMapNode title="Contact Us" />
</siteMapNode>
</siteMap>
The "top level" items are actually sub items. By default doing this
doesn't work because the root siteMapNode doesn't have any value.
I had to add ShowStartingNode="False" here:
<asp:SiteMapDataSource ID="SiteMapDataSource1"
ShowStartingNode="False" runat="server" />
That fixed the problem. :)
John
.
- References:
- web.sitemap question
- From: johnb41
- web.sitemap question
- Prev by Date: Re: Good, Cheap .NET/SQLServer Web hosting?
- Next by Date: Re: javascript troubleshooting
- Previous by thread: web.sitemap question
- Next by thread: javascript troubleshooting
- Index(es):
Relevant Pages
|