Rank: Newbie Groups: Member
Joined: 8/3/2009 Posts: 1
|
I wish to bind to an EO Tree a: List<T> of an object "A" which is containing a List<T> of an object "B" which is containing a List<T> of an object "C".
Binding to a property on the List<A> was easy. But I don't see how to get the sub nodes to read a property from the sub List<B> (and later the List<C>)
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The menu won't automatically do that for you. You can manually set each SubMenu's DataSource and call DataBind on the sub menu; Or you can create a wrapper class and then implement IHierarchicalDataSource interface on your object.
Thanks!
|