We have master-detail grids very similar to the Telerik demo here.
<
telerik:RadGrid
ID
=
"MasterGrid"
runat
=
"server"
AllowAutomaticUpdates
=
"True"
AllowFilteringByColumn
=
"True"
AllowSorting
=
"True"
AutoGenerateColumns
=
"False"
DataSourceID
=
"MasterGridDataSource"
GroupPanelPosition
=
"Top"
ShowGroupPanel
=
"True"
>
<
ClientSettings
AllowColumnsReorder
=
"True"
EnablePostBackOnRowClick
=
"True"
>
<
Selecting
AllowRowSelect
=
"True"
EnableDragToSelectRows
=
"False"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
<
Resizing
AllowColumnResize
=
"True"
AllowResizeToFit
=
"True"
EnableRealTimeResize
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
CommandItemDisplay
=
"Top"
DataKeyNames
=
"OptionsID"
DataSourceID
=
"MasterGridDataSource"
EditMode
=
"InPlace"
AllowMultiColumnSorting
=
"True"
ClientDataKeyNames
=
"OptionsID"
Caption
=
"Master Grid"
>
<
Columns
>
<
telerik:GridEditCommandColumn
ButtonType
=
"ImageButton"
Exportable
=
"False"
>
<
HeaderStyle
Width
=
"28px"
/>
</
telerik:GridEditCommandColumn
>
.
.
.
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
The problem is on master row edit, the master grid SelectedItem is unselected and the child grid is cleared.
Is there any way to keep the selection when entering edit mode?