All posts

Hierarchical data sources and RadControls

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.

Facebook Twitter DZone It! Digg It! StumbleUpon Technorati Del.icio.us NewsVine Reddit Blinklist Add diigo bookmark

Comments  2

  • 10 Jul

    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?

    Rich Wilson

  • 12 Jul

    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 :)

    Atanas Korchev

Post a comment
  1. Formatting options
       
     
     
     
     
       
  2. Security image