TextSearchPath - 2 Properties?

2 posts, 0 answers
  1. ITA
    ITA avatar
    381 posts
    Member since:
    Aug 2009

    Posted 02 May 2013 Link to this post


    i use your AutoCompleteBox from you wpf-example. It works fine. In your "Contatc.cs" are two properties, firstname and lastname.
    Your TextSearchParh in the xaml file ist "FirstName".

    Is it possible to you both properties "FirstName" and "lastName"??

    Best Regards
  2. Vladi
    Vladi avatar
    743 posts

    Posted 07 May 2013 Link to this post


    By design the TextSearchPath property cannot be set to multiple objects in order to use two or more properties of the bound object when filtering the items in the AutoCompleteBox control.

    In order to achieve the desired behavior in the RadAutoCompleteBox control you will need to create a custom FilteringBehavior with the custom logic of the multiple properties filtering. You can check our online SDK example about TwoPropertiesFilteringBehavior that shows how to achieve the previously described approach.

    Hope this is helpful.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top