Friday, March 31, 2006 12:48 PM
I ran into this issue working with the sitemap, and I was banging my head on my desk reading post after post about how you just had to nest everything under a “home” node...until I remember the workaround I did for a previous asp.net 2.0 app.
All the samples out there will tell you that you need to have one root siteMapNode, and this is true. But what if you don't want to show that node? What if you want this to be used for a menu and there needs to be multiple starting points and not just one?
The fix is really simple. Click on your SiteMap Datasource control, and in the properties window you'll see one called:
ShowStartingNode
Set this to false, and voila: the evil root node is no where to be found.
D