Displaying nested data in asp.net

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

hi

asp.net 3.5

I have a generic collection where each item can contain 0 - n subitems
(where again each subitem can contain 0 - subitems)

So I was thinking about how to display this data on a webpage.

Right now I'm thinking about using a reapter control. and for each row in
the reapeater control use a treeview control...

is that a good approach? what do you suggest?
 
Jeff said:
hi

asp.net 3.5

I have a generic collection where each item can contain 0 - n subitems
(where again each subitem can contain 0 - subitems)

So I was thinking about how to display this data on a webpage.

Right now I'm thinking about using a reapter control. and for each row in
the reapeater control use a treeview control...

is that a good approach? what do you suggest?

It seems you are not sure requirements are. You need to understand those
before you answer "how do I achieve them?".

What does the user expect to get out of visiting this page?
Do you have so many items that you need a expand/collapse idiom?
Do you need to show the containment relationship between the items and how
would you do this visually?
For example indentation but could the indentation get out of hand?
What are the requirements for displaying the item, just a name, image and
name or does each item have more complex display requirements?

Why a repeater then an tree, why not just a straight tree?
 
Back
Top