Hi,
I am using a RadComboBox with checkboxes set to "true' . This will enable a multi select option. When i select itmes in the combobox, sometimes it shows the number of items that iselected in the combobox and sometimes it does not show anything even after i selected items in the combobox.
Is there any proeprty to show the number of items that re selected in the checkboxes?
Thanks in Advance
4 Answers, 1 is accepted
Hi Jagat,
You can have all checked items with the JavaScript method "get_checkedItems" of RadComboBox object.
The result is an array, so you can easily get the number of items with the "length" property.
Hope it helps !
Hi Loic,
I can get teh information that i want using "get_checkedItems".
I want the selection to be seen on the UI.If the user selects 3 checkboxes, after the selection he should be able to see "3 items selected" or something like that on the combobox.
If you see the picture, from the telerik site, after the selection, it displays the items that are selected at the top. What property is needed for the selected items to be displayed?
Thanks
Hi Jagat,
As far as I know, the RadComboBox component display the items that are selected until the concatenate string of all selected items is fitted in RadComboBox width. After, it will display "3 items selected".
If you take a look on documentation, you will find this property : CheckedItemsTexts. Here you have two options : DisplayAllInInput and FitInInput. Unfortunately, and as you can see, I don't think you have a solution to your purpose...
Hi jagat,
Try to set the combobox property Allowcustomtext to true.i hope this will solve your problem.