I have a tree structure and was wondering what the best way is to render it. For example, maybe using nested repeaters. Although the tree depth is limitless, i am a little lost on how to do this.
I have an item template that is like this.
<a href="#">Name of record</a>
where the [ChildItem] is the DIV structure above.
I thought of making a repeater, then making a dynamic repeater for every level downwards, recursively.
I also though that i would make the above DIV structure a usercontrol and add that along with the dynamically created repeaters.
Is this the correct method, or does anyone have example on how to do this?
I can pretty much do this however, i don't want to make something that is wrong or inefficient.