How to display nested structures?

O

Olav Tollefsen

I have a somewhat complex data structure to display on a web page:

Item A
- Sub Item 1: a, b, c, ...
- Sub Item 2: a, b, c, ...
- ...
Item B
- Sub Item 1: a, b, c, ...
- Sub Item 2: a, b, c, ...
- ...
Item ...
- Sub Item 1: a, b, c, ...
- Sub Item 2: a, b, c, ...
- ...

I have all the main items stored in a SortedList which again contains a
SortedList with sub items, which again contains a SortedList with the end
nodes (a, b, c, ...).

What is the best way to display this on a web page? Are there any samples
doing something similar?
 
V

Victor Garcia Aprea [MVP]

Hi Olav,

It looks like you could use a TreeView control to display such data. Take a
look at control repositories like the one at www.asp.net (Control Gallery)
to download one.

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx

To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
 

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
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top