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

2 posts, 0 answers
  1. Sreevidya
    Sreevidya avatar
    1 posts
    Member since:
    May 2018

    Posted 04 May 2018 Link to this post

    Example : RadComboBox conatains below list
    Computer Engineer
    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"
  2. Dilyan Traykov
    Dilyan Traykov avatar
    1059 posts

    Posted 09 May 2018 Link to this post

    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.

    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.
Back to Top