ReadOnlyListBase and asp.net treeview

ReadOnlyListBase and asp.net treeview

Old forum URL: forums.lhotka.net/forums/t/4909.aspx


Martin Sørensen posted on Wednesday, May 28, 2008

Hey All. Is there a easy way to bind a ReadOnlyListBase to a asp.net treeview…. I have a ListBase with self referring objects

 

Id

Name

ParentId

 

If anyone have an example pleas share ;o)

 

Or is there any other  treeview control that can do that

 

Regards Martin

 

skagen00 replied on Thursday, May 29, 2008

I've done this before but I don't have anything in front of me. Google IHierarchicalDataSource... that's what you need to end up implementing in order to bind to a asp.net treeview if I remember correctly.

Martin Sørensen replied on Thursday, May 29, 2008

Thanks skagen00.

 

I have been looking at IHierarchicalDataSource, but I thought that there maybe was an easier way to do that… I have several ReadOnly List I have to Implant this in…. An example would be

nice I you have some time to spare.

 

Regards Martin

Copyright (c) Marimer LLC