I have a Radgrid with multiselect , but i cant seems to find out how to get the list of column values that are selected.
Can someone help me out ? Ill attached my code.
Can someone help me out ? Ill attached my code.
<telerik:RadGrid ID=
"ClientenGrid"
runat=
"server"
AllowMultiRowSelection=
"True"
CellSpacing=
"0"
GridLines=
"None"
OnNeedDataSource=
"ClientenGrid_NeedDataSource"
AllowPaging=
"True"
PageSize=
"7"
DataMember=
"ID"
>
<ClientSettings>
<Selecting AllowRowSelect=
"True"
/>
<ClientEvents OnCellSelecting=
"ClientenGrid_OnCellSelecting"
/>
</ClientSettings>
<MasterTableView DataMember=
"ID"
>
<CommandItemSettings ExportToPdfText=
"Export to PDF"
/>
<RowIndicatorColumn FilterControlAltText=
"Filter RowIndicator column"
Visible=
"True"
>
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText=
"Filter ExpandColumn column"
Visible=
"True"
>
</ExpandCollapseColumn>
<EditFormSettings>
<EditColumn FilterControlAltText=
"Filter EditCommandColumn column"
>
</EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites=
"False"
>
</FilterMenu>
</telerik:RadGrid>
<br/>
<table style=
"float: left;"
>
<tr>
<td>
<asp:Label ID=
"AantalClienten"
runat=
"server"
Text=
"Aantal cliƫnten geslectecteerd: "
></asp:Label><asp:Label
ID=
"Aantal"
runat=
"server"
Text=
""
></asp:Label>
</td>
</tr>
</table>
<table style=
"float: right;"
>
<tr>
<td>
<dx:ASPxButton ID=
"OKBtn"
runat=
"server"
Text=
"Ok"
AutoPostBack=
"False"
>
<ClientSideEvents Click="function(s, e) {
ClientenPicker.Hide();
}" />
</dx:ASPxButton>
</td>
<td>
<dx:ASPxButton ID=
"CancelBtn"
runat=
"server"
Text=
"Cancel"
AutoPostBack=
"False"
>
<ClientSideEvents Click="function(s, e) {
ClientenPicker.Hide();
}" />
</dx:ASPxButton>
</td>
</tr>
</table>