Free Trial Buy Now

Grid Editing - Cascading Combo Boxes

Drag a column header here to group by that column
#
Country
City
Contact Name
Company Name
EditGermanyBerlinMaria AndersAlfreds Futterkiste
EditMexicoMéxico D.F.Ana TrujilloAna Trujillo Emparedados y helados
EditMexicoMéxico D.F.Antonio MorenoAntonio Moreno Taquería
UpdateCancel
v
v
EditSwedenLuleåChristina BerglundBerglunds snabbköp
EditGermanyMannheimHanna MoosBlauer See Delikatessen
EditFranceStrasbourgFrédérique CiteauxBlondel père et fils
EditSpainMadridMartín SommerBólido Comidas preparadas
EditFranceMarseilleLaurence LebihanBon app'
EditCanadaTsawwassenElizabeth LincolnBottom-Dollar Markets
Page 1 of 10 (91 items)
Prev
1
2
3
4
5
6
7
8
9
10
Next

Description

In this demo, the City column's combo box is populated dynamically (via callbacks) with city names, depending upon the country selected within the Country column's combo box. Note that only the City combo box' content is updated during round-trips to the server - not the content of the entire page or ASPxGridView control.

The Country combo box' SelectedIndexChanged client-side event is handled to send a request for updating the City combo box. On the server side the Callback event is handled to populate the City combo box with required items.

Version: v2011 vol 2.11
Experience the DevExpress Difference Today
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.