Can a Table
be created dynamically within a cell of the gridView
?
I know that within a Table
you can put in the new cells table
, but could you do the same with a gridView
?
Can a Table
be created dynamically within a cell of the gridView
?
I know that within a Table
you can put in the new cells table
, but could you do the same with a gridView
?
You could have one GridView inside another if that's what you're looking for, or maybe a Repeater
Nested GridView Example in ASP.Net using C # and VB.Net
As you will see the grid is created as a new row that you can collapse to display a detail of data related to each row
The trick is to make use of the RowDataBound
event to be able to select the nested control using the FindControl()
and assign it data. The collapsible afterwards is only javascript or jquery code that allows you to hide it