Binding to Search Text

3 posts, 1 answers
  1. gordon
    gordon avatar
    27 posts
    Member since:
    Oct 2015

    Posted 28 Feb Link to this post

    Is there property I can bind to similar to SearchText in RadAutoCompleteBox?  I want the user to be able to add new item to the collection bound to the gird view.  Thanks.
  2. Answer
    Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    980 posts

    Posted 05 Mar Link to this post

    Hello gordon,

    You can get ahold of the text which has currently been entered via the AutoCompleteProvider.SearchText property:

    <TextBlock Text="{Binding AutoCompleteProvider.SearchText, ElementName=mccb}" />

    Please let me know whether using this property will suit your requirements.

    Regards,
    Dilyan Traykov
    Progress TelerikWant 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.
  3. gordon
    gordon avatar
    27 posts
    Member since:
    Oct 2015

    Posted 06 Mar in reply to Dilyan Traykov Link to this post

    Hello Dilyan,

    I was able to bind to AutoCompleteProvider, and access its SearchText in my DataContext  E.g.

    <RadMultiColumnComboBox AutoCompleteProvider="{Binding MySuggestProvider}"

    Thanks.

Back to Top