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

VirtualQueryableCollectionView and filter list

2 Answers 158 Views
Data Virtualization
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Peter
Top achievements
Rank 1
Peter asked on 20 Jul 2012, 04:43 PM
Hello,
I'm using the VirtualQueryableCollectionView with a RadGridView and it works fine; the problem that I have is when I open the filter control the list of distinct values is empty (as shown in the attached file).
Do they never show up with the virtual collection or does there exist some event where I can hook up and fill this list by my own?
Because I would like to avoid to implement my custom filter control and have to manage all this filterdescriptors stuff...

Regards

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 23 Jul 2012, 06:51 AM
Hello,

You could use the DistinctValuesLoading event of the RadGridView to load DistinctValues. This help article shows an example on how to use this event.

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Peter
Top achievements
Rank 1
answered on 24 Jul 2012, 01:06 PM
Hello,
thanks for the answer; I tried it out and if I specify a "static" List of items it works correctly; but if I load the distinct values on demand in the event handler from a RIA Service it does not work.

I solved the problem now by implementing a custom filter control.

Thanks
Regards
Tags
Data Virtualization
Asked by
Peter
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Peter
Top achievements
Rank 1
Share this question
or