Data Editors - Dropdown Editor CheckComboBox Emulation


There are times when you may wish to have a combo box editor on your page that allows multiple selection. In the DevExpress web editors library, multiple item selection is built into the ASPxListBox editor by default, but the ASPxComboBox editor does not have this functionality. This demo illustrates how you can use a combination of the ASPxDropDownEdit and ASPxListBox editors to emulate a combo box that allows end-users to select multiple items within its dropdown list.

In this demo, a template of the DropDownWindowTemplate type is created within the ASPxDropDownEdit. This template contains an instance of the ASPxListBox editor whose SelectionMode property is set to the CheckColumn value. The Text property of the ASPxDropDownEdit stores a list containing the selected items (that is, the values of their Text property), delimited by semicolons. In addition to selecting items within the dropdown list, this demo allows end-users to select items by entering a semicolon-separated series of item text in the edit box of ASPxDropDownEdit. If item text that does not exist is entered, it is deleted from the edit box.

Version: v2017 vol 1.4
Copyright © 2006-2017 Developer Express Inc
Your Next Great ASP.NET App Starts Here

Get started today and download your 30-day trial of ASP.NET Controls and Libraries (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress ASP.NET distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress ASP.NET Controls and Libraries ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.