Could you advice me how can I manage to have my custom message if I select 4 days - I want to have "1347" instead of "4 items checked". I want to have values of those selected checkboxed written in the message...
Thanks a lot...
1 Answer, 1 is accepted
answered on 17 Oct 2012, 03:53 PM
I am afraid that changing the text in RadComboBox when you use CheckBoxes is not supported.
The CheckBoxes feature sets the text in the control internally by design.
You can obtain the values of the checked items via CheckedItems collection:
foreach(RadComboBoxItem item in rcbDaysOfWeek.CheckedItems)
lblValues.Text += item.Value + " ";
All the best,
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.