This is a migrated thread and some comments may be shown as answers.
Filter for any of multiple words?
1 Answer 9 Views
This is a migrated thread and some comments may be shown as answers.
Mike Trank
Top achievements
Rank 1
Mike Trank asked on 28 Feb 2013, 06:25 AM
Hi.  Would it be possible to modify the "contains" filtering behavior to find any of multiple words in the combobox data?

For example: a combobox item is "follow the yellow brick road".  As I type 'the' then a space and then 'road' it would find this item because it contains any of my filtering words.  The current 'contains' behavior would not have found this item as it would have been looking for 'the road' as one string/keyword.  I hope I am making sense.

Can the client-side events such as itemrequesting or something similar be used to intercept/modify the filter before sent to the data source?

Thank you very much.


-Mike

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 04 Mar 2013, 09:27 AM
Hi Mike,

The desired functionality is not supported our of the box from the RadComboBox, but could be achieve if the filtering is manually performed. If the control is bound to a web service, the developer could query the data set in the desired way. If the web service approach is not applicable, the server ItemsRequested event could be used instead.

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.
Asked by
Mike Trank
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or