CheckBox Support
As of Q2 2011, RadComboBox introduces simple CheckBox support. You can enable the CheckBox mode by setting the RadComboBox's CheckBoxes property to true.

When the CheckBox functionality is enabled, the behavior of the RadComboBox is different than the standard dropdown behavior—the selection of items should be interpreted in terms of checking. The user is now checking items instead of selecting.
This means that you need to use different events and API to work with checked items:
-
The client-side events OnClientItemChecking and OnClientItemChecked should be handled instead of
OnClientSelectedIndexChangedandOnClientSelectedIndexChanging. -
The server-side ItemChecked event must be used instead of
SelectedIndexChanged. -
To get checked items on the client, use the get_checkedItems() method instead of
get_selectedItem(). -
To get checked items on the server, use the CheckedItems property instead of
SelectedItem. -
To control the checked state of an item on the client, use its
set_checked()andget_checked()methods. -
To control the checked state of an item on the server, use its
Checkedproperty.
Checkbox Support Related Properties
-
Checked—controls whether a particular item will be checked or not.
-
CheckedItems—a collection property, available both client and server side.
-
EnableCheckAllItemsCheckBox—when set to
true, aCheck AllCheckBox appears in the drop-down above all the items. It enables check / uncheck-all functionality for the RadComboBox items.The "Check All" CheckBox is not a RadComboBox item. It is a feature implemented entirely on the client and does a post-back to the server on checked / unchecked events only when the AutoPostBack property of the RadComboBox object is set to
true. -
CheckedItemsTexts—receives two predefined values:
-
FitInInput - default value. When this value is set and the text of the checked items exceeds the width of the input, it is replaced by
"X items checked". -
DisplayAllInInput
-