I’d like to have a table with a group by and ajax functionality.
Example:
Table header (with sort function on each column)
- +/- (image to collapse or expand) Group by Element1
- table view of all elements of Element1
- +/- (image to collapse or expand) Group by Element2
- table view of all elements of Element2
- +/- (image to collapse or expand) Group by Element3
- table view of all elements of Element3
If you click on “Group by Element1” there should be a ajax request to load the table view of all elements of Element1. The same for Element2 and Element3, etc.
I hope you understand what I want 🙂
What’s the best way to do this? Ajax, asp:Treeview, etc.?
Thanks
That’s very possible, but I would use a ListView or DataList as your parent container. Give this a shot:
And when the user clicks the LinkButton/Button in DataList1, do something like this: