Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

Using Checkboxes

Selected values:
 
Selected count: 0
# 
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 United Kingdom
Christina BerglundBerglunds snabbköpLuleå Sweden
Hanna MoosBlauer See DelikatessenMannheim Germany
Frédérique CiteauxBlondesddsl père et filsStrasbourg France
Martín SommerBólido Comidas preparadasMadrid Spain
Laurence LebihanBon app'Marseille France
Elizabeth LincolnBottom-Dollar MarketsTsawassenBCCanada
Page 1 of 10 (91 items)Prev12345678910Next

The DevExpress ASP.NET Grid View (ASPxGridView) provides the capability to allow end-users to select rows using checkboxes. To do this, 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.

This demo illustrates how you can display contact names selected within the ASPxGridView in a list box. The client-side SelectionChanged event is handled to display the selected contacts in the list box, and the total number of selected contacts below the list box. Contact names are obtained using the GetSelectedFieldValues function. The number of selected rows is returned by the GetSelectedRowCount client function.