Need help with ASP.NET 2.0 Treeview

thodah

n00b
Joined
Mar 30, 2005
Messages
19
I'm learning the basics in ASP.NET 2.0 by reconstructing the downloadable "Personal Web Site" from asp.net's homepage starter kits. I'm working in Visual Web Developer 2005 Express Edition.

I have now added an own menu to the left of the ContentPlaceHolder in the masterpage. In that menu I want a TreeView menu with expandable subcategories and such.

Now the thing is when I select the TreeView and change the SiteMapDataSource to 2 instead of 1 like the already finished topmenu, It shows the info from the first sitemap, even though I've created a new one.

I tried to build up the treeview in design-mode like you would do in a standard HTML-editor. It looks good but it won't work that way. It says that some defenition of the TreeView is missing or something.

Can I have two different sitemaps for the site?
Any idea how to fix this?
 
Back
Top