Hi,
How do you maintain the value of a selected checkbox in a RadGrid on postback. I have enable client selection set to true and have a rad code script block. the html is defined below. Please help
Thanks
Robert
< ID="grv_cand_shifts" runat="server" AllowFilteringByColumn="True"
AllowPaging="True" ExportSettings-ExportOnlyData="true" ExportSettings-IgnorePaging="true"
AllowSorting="True" GridLines="None" AutoGenerateColumns="False" Skin="<%$ AppSettings:TelerikControlSkin %>"
ShowFooter="True" Width="100%" OnPreRender="grv_my_shifts_OnPreRender" Message="" PageSize="20">
<MasterTableView DataKeyNames="id" Width="100%">
<Columns>
<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" />
<telerik:GridBoundColumn DataField="id" HeaderText="id" SortExpression="id" UniqueName="id"
Visible="False">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="shift_date" HeaderText="Shift date" ReadOnly="True"
UniqueName="shift_date" DataFormatString="{0:dd/MM/yyyy}">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="True" />
<ClientEvents OnFilterMenuShowing="filterMenuShowing" OnGridCreated="getGridObject" />
</ClientSettings>
<ExportSettings ExportOnlyData="True" IgnorePaging="True">
</ExportSettings>
<FilterMenu OnClientShown="MenuShowing">
</FilterMenu>
</>
How do you maintain the value of a selected checkbox in a RadGrid on postback. I have enable client selection set to true and have a rad code script block. the html is defined below. Please help
Thanks
Robert
< ID="grv_cand_shifts" runat="server" AllowFilteringByColumn="True"
AllowPaging="True" ExportSettings-ExportOnlyData="true" ExportSettings-IgnorePaging="true"
AllowSorting="True" GridLines="None" AutoGenerateColumns="False" Skin="<%$ AppSettings:TelerikControlSkin %>"
ShowFooter="True" Width="100%" OnPreRender="grv_my_shifts_OnPreRender" Message="" PageSize="20">
<MasterTableView DataKeyNames="id" Width="100%">
<Columns>
<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" />
<telerik:GridBoundColumn DataField="id" HeaderText="id" SortExpression="id" UniqueName="id"
Visible="False">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="shift_date" HeaderText="Shift date" ReadOnly="True"
UniqueName="shift_date" DataFormatString="{0:dd/MM/yyyy}">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="True" />
<ClientEvents OnFilterMenuShowing="filterMenuShowing" OnGridCreated="getGridObject" />
</ClientSettings>
<ExportSettings ExportOnlyData="True" IgnorePaging="True">
</ExportSettings>
<FilterMenu OnClientShown="MenuShowing">
</FilterMenu>
</>