This is a migrated thread and some comments may be shown as answers.

Stop "All Items Checked"

2 Answers 110 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 18 Jun 2013, 08:26 AM
I currently have a radcombobox set to allow multiple items be checked 

<telerik:RadComboBox ID="radAttributeValue" runat="server" CheckBoxes="true"
                         EnableCheckAllItemsCheckBox="false" AutoPostBack="true" DataCheckedField="selectionMade"
                         AllowCustomText="false" onselectedindexchanged="radAttributeValue_SelectedIndexChanged">

As the user selects the values in the checkbox and then sets focus away from the control the default behaviour of the RadcomboBox puts the selections made in a comma separated string.  This is great, however when all items are selected the list it then reads "All items checked", what would I need to modify to maintain the comma separated values even if all items in the list were selected?

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 18 Jun 2013, 09:24 AM
Hi,

Try setting  CheckedItemsTexts as "DisplayAllInInput" .

<telerik:RadComboBox ID="RadComboBox1" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" CheckedItemsTexts="DisplayAllInInput">
</telerik:RadComboBox>

Thanks,
Shinu.
0
Richard
Top achievements
Rank 1
answered on 18 Jun 2013, 09:34 AM
Fantastic, that does exactly what I want.  Thanks for the quick response
Tags
ComboBox
Asked by
Richard
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Richard
Top achievements
Rank 1
Share this question
or