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

RadComboBox Autocomplete Selection to ListBox

1 Answer 81 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 23 Apr 2012, 05:50 PM
I have a need where when I 'typeahead' to load the combobox... each time an item is selected it is automatically added to another listbox on the page (not removed from the combobox list collection). I don't really want it to remain selected in the combobox. Or displayed in the text field.

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 24 Apr 2012, 04:27 PM
Hello,

If you don't want to perform a real selection you could subscribe to the client-side OnClientSelectedIndexChanging event, then get the item which is about to be selected, add it to your RadListBox and then cancel the event using the set_cancel method of the event arguments.

All the best,
Dimitar Terziev
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.
Tags
ComboBox
Asked by
Sean
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or