Home - Forums-.NET - FlyTreeView (ASP.NET) - SiteMap DataSource

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

SiteMap DataSource
Link Posted: 03-Dec-2006 03:04
I binded the FlyTreeView to a SiteMap file and the nodes reflect the respective siteMapNodes but when I click on the nodes in the FlyTreeView it does not navigate to the url provided in the Sitemap file.

Eitan
Link Posted: 03-Dec-2006 09:08
Eitan,

You should apply databinding to bind SiteMapNode.Url property to FlyTreeNode.NavigateUrl property.

Here is an example implementation:

    
        
    
Link Posted: 03-Dec-2006 11:31
All of my URLs are in my sitemap. When I bind to a normal  The names of the SiteMapNodes as well as the URLs as opposed to the flyTeeView which just binds the names and not the URLs.
Link Posted: 03-Dec-2006 11:40
All of my URLs are in my sitemap.

Yes, I understand and that is why I posted a piece of code. Please add
    
        
    

to the FlyTreeView tag to make things work as they should.