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

Do we have any property or way to AutoComplete the text in input text area of RadComboBox along with filter?

1 Answer 119 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sreevidya
Top achievements
Rank 1
Sreevidya asked on 04 May 2018, 12:19 PM
Example : RadComboBox conatains below list
Computer
Computer Engineer
Free
Free trial

When I type "Comp" in text area of RadCombox it should auto complete with default selection that is "Computer" in text area
and show drop down with "Computer" and "Computer Engineer"

1 Answer, 1 is accepted

Sort by
0
Dilyan Traykov
Telerik team
answered on 09 May 2018, 11:38 AM
Hello Sreevidya,

Currently, the RadComboBox control does not allow for the filtering and autocomplete features to work simultaneously out of the box. I have, however, logged a new feature request in our feedback portal regarding such functionality. If the demand for such an item is high, we will consider implementing it in future releases.

I have, however, come with a workaround that you can use for the time being. It involves handling the TextInput event of the control to modify the source collection - as if filtering was applied. In addition, I've bound the Text property of the control so that the collection is returned to its initial value when no text is present. I've attached a small sample project with the implementation for your reference.

Please have a look and let me know if such an approach would work for you.

Regards,
Dilyan Traykov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ComboBox
Asked by
Sreevidya
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Share this question
or