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

AutoComplete on MultiColumn Combobox

3 Answers 101 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 09 Sep 2010, 04:30 PM
Is it possible to search on both columns when user tries to type in the dropdown?
If you have
ColA  ColB
123   ABC

And user tries to type 123 or ABC then we highlight that row?
I tried doing this using OnClientItemsRequested and It works fine, but I wanted to check to see if this is already implemented in the control or anyone has a any good ideas... 

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 13 Sep 2010, 04:51 PM
Hi Sam,

RadComboBox supports filtering only by Items' Text properties. As an alternative you can set the Text property to the full text so that the filtering works per your requirement and then in the client-side SelectedIndexChanged event set the Text of the RadComboBox to the desired Text of the selected Item.

Best wishes,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Vinay
Top achievements
Rank 1
answered on 06 Feb 2015, 12:58 PM
Can u please provide code for the above problem that u write on OnClientItemsRequestedevent.
0
Boyan Dimitrov
Telerik team
answered on 11 Feb 2015, 09:28 AM
Hello,

In the ItemsRequested event handler you are absolutely able to control the filtering functionality. Please review RadComboBox Load On Demand example  that shows how to implement your own search query based on the typed text.


Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ComboBox
Asked by
Sam
Top achievements
Rank 1
Answers by
Simon
Telerik team
Vinay
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or