Welcome Guest Search | Active Topics | Sign In | Register

Binding a List<T> Options
EA
Posted: Monday, August 3, 2009 6:47:48 AM
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>)
eo_support
Posted: Monday, August 3, 2009 9:51:49 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.