Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Cascading Editors

Drag a column header here to group by that column
New
Customer Name 
Country 
City 
EditMaria AndersFaroe IslandsTorshavn
EditThomas HardyAustriaEisenstadt
EditYang WangBermudaHamilton
UpdateCancel
v
v
EditSven OttliebUzbekistanMarghilon
EditJanine LabruneVietnamHanoi
EditMartine RanceHoly SeeVatican City
EditMaria LarssonVirgin IslandsCharlotte Amalie
EditPeter FrankenYemenAden
EditCarlos HernandezAmerican SamoaPago Pago
Page 1 of 2 (14 items)Prev12Next

In this demo, the combo box in the City column (the City combo box) is populated dynamically with city names via callbacks, based on the value selected in the combo box in the Country column (the Country combo box). Only the content stored in the City combo box is updated during round-trips to the server - not the content of the page or the DevExpress ASP.NET Grid View (ASPxGridView) control.

The client-side SelectedIndexChanged event of the Country combo box is handled to update the City combo box. On the server side, the Callback event is handled to populate the City combo box with required values.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxGridViewDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxGridViewDemos