Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to implement a CheckComboBox editor in the ASPxGridView

$
0
0

This example is based on the CheckComboBox Emulation demo. It illustrates how to use a combination of the ASPxDropDownEdit and ASPxGridView to emulate a checked combo box that allows end-users to select multiple items within its dropdown list.

In this example, a template of the DropDownWindowTemplate type is created within the ASPxDropDownEdit. This template contains an instance of the ASPxGridView whose ShowSelectCheckbox property is set to true. The ASPxDropDownEdit's Text property stores a list, containing selected items (values, in this scenario). In addition to selecting items within the dropdown list, this example allows end-users to select items by entering a semicolon-separated series of item values into the ASPxDropDownEdit's edit box. If an item text that doesn't exist is entered, it is deleted from the edit box.

See Also:
CheckComboBox filtering in the Auto Filter Row

Example Comments

Added By: will s at: 9/29/2012 11:27:21 AM    

I think the 2012+ technique for most scenarios would now be to use an ASPxCheckBoxList instead of a nested gridview, specifically if you're just trying to achieve a "CheckBoxList" solution (no need for multiple columns).


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>