Autocomlete box and multiple dimensional search

2 posts, 1 answers
  1. Avishay
    Avishay  avatar
    9 posts
    Member since:
    Jun 2012

    Posted 04 Feb 2013 Link to this post

    Hello Telerik Team,
    Can  RadAutoCompleteBox  control support multiple dimension source such as a DataTable ?
    If it does, can you send us an example ?
    Thanks in advance,
  2. Answer
    Yana avatar
    4604 posts

    Posted 05 Feb 2013 Link to this post

    Hi Avishay,

    Thank you for contacting us.

    The RadAutoCompleteBox control does not support an ItemsSource of type DataTable - it expects its data source to be of type IEnumerable.

    However, the control provides a way to customize its filtering behavior ( through the FilteringBehavior property), so actually you can take the items and manually filter them from any datasource you need. 

    I have attached a very simple project demonstrating the approach. Note the CustomFilteringBehavior class - the FindMatchingItems method should return a list of the filtered items.

    Hope this helps.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top