Help with Dynamic table-like .net functionality
I am having troubles visualizing how to develop an asp.net page.
I need to have a list of hyper links that will expend and indent into new data as each hyperlink is clicked. The data that expands and collapses as the hyperlinks as clicked will need to be organized into columns and rows.
Before I started learning asp.net I would have just scripted a html table and dynamically inserted rows at the proper locations. Iâve read a few posts on this forum (like this one: ) that mention that is approach is not the asp.net way.
Here is a sample of the layout in my mind:
Item1
Item2
Item3
Item4
Say Item3 is clickedâ¦
Item1
Item2
Item3
---------- Subitem1
---------- Subitem2
---------- Subitem3
Item4
Say Subitem2 is then clicked:
Item1
Item2
Item3
---------- Subitem1
---------- Subitem2
-------------------- Subsubitem1
-------------------- Subsubitem2
---------- Subitem3
Item4
I donât want to use a treeview because there will be lots of data and from what it looks like the treeview wants to load all of the data at once.
Like I mentioned, the Items and SubItems only represent rows. Each row will have associated fields / columns.
|