Displaying nested data in asp.net

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?
 
A

Anthony Jones

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,408
Latest member
AlenaRay88

Latest Threads

Top