Home - Forums-.NET - FlyTreeView (ASP.NET) - Problem with custom SiteMapProvider

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

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

Problem with custom SiteMapProvider
Link Posted: 17-Aug-2007 01:38
Hello,

I stumbled across another problem with FlyTreeView. I don't know if it is a bug or not. I have constructed a custom SQL SiteMapProvider which i bind to my flytreeview with DataSourceID. To this, I also use a SiteMapPath. At first, I had problems getting the SiteMapNode property \"Url\" to work but found a solution in another thread:


                    
                        
                    


So far so good. The problem is when I enter the URL my tree is not expanded to the correct node. Let me first add that I've tested this with the regular ASP.NET TreeView(v2) and everything works just fine. However, there is a property in the regular TreeView called \"PopulateNodesFromClient\". When I set this to false ONLY THEN will my regular TreeView be expanded to the correct node, corresponding to the current URL. This is how it should work.

In FlyTreeView there is no such property. My node does not get expanded corresponding to the current URL and I can't find a similar property. Or is there another problem? The FlyTreeView should work in the same way as the regular TreeView.

What am I missing here?

PS. I also could not get the tooltip to work properly:





The tooltip simply does not show up, even if I add something in the description property of the SiteMapNode.

Thanks in advance! This puzzles me. ;)

BR
Link Posted: 17-Aug-2007 11:14
Standard TreeView control contains special internal code regarding the SitMapDataSource integration. FlyTreeView doesn't. And thus it behaves with the SiteMap as a regular hierarchical data provider.

I think we'll schedule SiteMap integration for the future release.
Link Posted: 19-Aug-2007 23:56
[quote="EvgenyT"]Standard TreeView control contains special internal code regarding the SitMapDataSource integration. FlyTreeView doesn't. And thus it behaves with the SiteMap as a regular hierarchical data provider.

I think we'll schedule SiteMap integration for the future release.


That sounds great.  

Keep up the good work!