• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

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