Row Selection - Simple Selection

Selected values:
 

Selected count: 0
Drag a column header here to group by that column
#
Contact Name
Company Name
City
Region
Country
Maria AndersAlfreds FutterkisteBerlin Germany
Ana TrujilloAna Trujillo Emparedados y heladosMéxico D.F. Mexico
Antonio MorenoAntonio Moreno TaqueríaMéxico D.F. Mexico
Thomas HardyAround the HornLondon UK
Christina BerglundBerglunds snabbköpLuleå Sweden
Hanna MoosBlauer See DelikatessenMannheim Germany
Frédérique CiteauxBlondel père et filsStrasbourg France
Martín SommerBólido Comidas preparadasMadrid Spain
Laurence LebihanBon app'Marseille France
Elizabeth LincolnBottom-Dollar MarketsTsawwassenBCCanada
Page 1 of 10 (91 items)
Prev
[1]
2
3
4
5
6
7
8
9
10
Next
Description
C#
VB
ASPX
JS

This demo shows how to display contact names selected in the ASPxGridView within the 'Selected values' list box.

To allow end-users to select rows, add a command column to the ASPxGridView and set its ShowSelectCheckBox property to true. The column will display check boxes within its cells. End-users can check or uncheck these check boxes to select or de-select the corresponding data rows.

In this demo, the SelectionChanged client-side event is handled to display selected contacts within the list box and the number of selected contacts below it. Contact names are obtained using the GetSeletedFieldValues() function. The number of selected rows is returned by the GetSelectedRowCount() client function.