This is a migrated thread and some comments may be shown as answers.

Custom FilteringControlTemplate

1 Answer 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 07 Jun 2013, 07:24 AM
Hi!

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?
Regards,
HÃ¥kan

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 07 Jun 2013, 11:51 AM
Hello,

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.

Regards,
Rossen Hristov
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Håkan
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or