Hierarchical data sources and RadControls

Sunday, July 08, 2007 by ASP.NET AJAX Team | Comments 2
In his recent post Bertrand Le Roy announced that he migrated his ObjectHierarchicalDataSource and CompositeHierarchicalDataSource controls from GotDotNet to CodePlex.

I just downloaded the sample projects and tried binding RadMenu and RadTreeView to those data source controls. Everything went according to plan:

I’ve made two demo web sites – ObjectHierarchicalDataSource.zip and CompositeHierarchicalDataSource.zip. Feel free to check them out.

2 Comments

  • Rich Wilson 10 Jul 2007
    Unfortunately, it doesn't look like this handles self nested data. The only way to indicate the root element is for the DataFieldParentID attribute to be <NULL>, which means it must be bound to a dataset (or similar). Or am I missing something?
  • Atanas Korchev 12 Jul 2007
    I don't understand your post - binding to CompositeHierarchicalDataSource does not require setting the DataFieldID/DataFieldParentID properties. I think this is the best part of using it :)

Add comment

  1. Formatting options
       
     
     
     
     
       
  2. (optional, emails won't be shown on public pages)
  3. (optional)