Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Selected item is cleared on master row edit

$
0
0

We have master-detail grids very similar to the Telerik demo here.

<telerik:RadGridID="MasterGrid"runat="server"AllowAutomaticUpdates="True"AllowFilteringByColumn="True"AllowSorting="True"AutoGenerateColumns="False"DataSourceID="MasterGridDataSource"GroupPanelPosition="Top"ShowGroupPanel="True">
    <ClientSettingsAllowColumnsReorder="True"EnablePostBackOnRowClick="True">
        <SelectingAllowRowSelect="True"EnableDragToSelectRows="False"/>
        <ScrollingAllowScroll="True"UseStaticHeaders="True"/>
        <ResizingAllowColumnResize="True"AllowResizeToFit="True"EnableRealTimeResize="True"/>
    </ClientSettings>
    <MasterTableViewCommandItemDisplay="Top"DataKeyNames="OptionsID"DataSourceID="MasterGridDataSource"EditMode="InPlace"AllowMultiColumnSorting="True"ClientDataKeyNames="OptionsID"Caption="Master Grid">
        <Columns>
            <telerik:GridEditCommandColumnButtonType="ImageButton"Exportable="False">
                <HeaderStyleWidth="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?


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>