Hi, I currently have my RadGrid setup with DetailTables, but I would like to switch to NestedView to have more control over the presentation of the data. For my Detailtables I use
OnDetailTableDataBind
, but the NestedView doesn't have that property. What is the best route take if I have a datasource that can only be generated programmatic?
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowSorting
=
"True"
GridLines
=
"None"
ShowGroupPanel
=
"True"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
OnDetailTableDataBind
=
"RadGrid1_DetailTableDataBind"
AllowFilteringByColumn
=
"True"
>
<
ClientSettings
AllowColumnsReorder
=
"True"
AllowDragToGroup
=
"True"
ReorderColumnsOnClient
=
"True"
>
<
Selecting
AllowRowSelect
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
DataKeyNames
=
"ID"
AllowMultiColumnSorting
=
"True"
>
<
DetailTables
>
<
telerik:GridTableView
DataKeyNames
=
"ID"
Width
=
"100%"
runat
=
"server"
AutoGenerateColumns
=
"false"
>
<
Columns
>
<
telerik:GridBoundColumn
SortExpression
=
"Joined"
HeaderText
=
"Joined"
HeaderButtonType
=
"TextButton"
DataField
=
"Joined"
UniqueName
=
"Joined"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
SortExpression
=
"Status"
HeaderText
=
"Status"
HeaderButtonType
=
"TextButton"
DataField
=
"Status"
UniqueName
=
"Status"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
SortExpression
=
"City"
HeaderText
=
"City"
HeaderButtonType
=
"TextButton"
DataField
=
"City"
UniqueName
=
"City"
>
</
telerik:GridBoundColumn
>
</
Columns
>
</
telerik:GridTableView
>
</
DetailTables
>
<
NestedViewSettings
>
</
NestedViewSettings
>
</
MasterTableView
>
</
telerik:RadGrid
>