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

ClearSelectionButton event?

1 Answer 77 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 17 May 2012, 01:49 AM
I've got a few RadComboBoxes on a search form that utilizes the ClearSelectionButon quite nicely.

I've now been requested to make those ComboBoxes be multi-select.

I've test-driven all 3 examples I found and am partial to this one:

http://www.telerik.com/community/forums/silverlight/combobox/multiselect-option-in-combo-box.aspx#972303

by Valeri Hristov

However, the next obvious question then becomes how to use the ClearSelectionButton in this scheme.

I tried adding it in, just to see if somehow, magically, it would work, and while the button shows up just fine, it doesn't do any clearing.

So then I searched to see if I could find an event I could grab to do the clearing myself... and have not been successful.

I'm running Q1 2012 SP1 right now.

Any help would be wonderful, thanks!

-Dave

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 21 May 2012, 08:14 AM
Hello Dave,

This is not supported out of the box. Nevertheless you need to edit the ComboBox template so you can gain access to the Clear Button. You can find a simple implementation as an attached file, also I have attached another project which uses a check box to select or unselect  all. It might be worth considering implementing your own Button.

All the best,
Georgi
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ComboBox
Asked by
Dave
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or