Custom FilteringControlTemplate

2 posts, 0 answers
  1. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 07 Jun 2013 Link to this post


    I have made a custom filtering control and added a TextBox above the distinct values ListBox.
    I want the user to be able to filter the distinct values list by entering text in the TextBox to narrow down the long list to easier find the values to check.

    But I can't find anywhere to change the distinct values collection, it is read only, except in the DistinctValuesLoading event.
    But that is too early, I want to trigger it in my TextBox's TextChanged event.

    Is there anyway I can achive this functionality?

  2. Rossen Hristov
    Rossen Hristov avatar
    2478 posts

    Posted 07 Jun 2013 Link to this post


    I am afraid that there is no way to implement this with the stock filtering control due to its design. You might need to build a totally custom filtering control from scratch instead of deriving from the stock one and implement all the custom logic yourself.

    Rossen Hristov

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top