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

QueryableDomainServiceCollectionView, RadDataPager and Filtering

1 Answer 132 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 2
Chris asked on 26 Apr 2012, 07:29 PM

I've recently redid my data binding to use a QueryableDomainServiceCollectionView as my binding source and added a RadDataPager as well.  Overall those items  works great.  But I had an undesirable side effect that I’m not sure how to fix, if you even can. 

Before the QueryableDomainServiceCollectionView and RadDataPager were implemented it was easy for my users to filter the row using the build in filter dialogs.  Once they were implemented they user only saw the distinct values based on the current page returned from the server.  Is there a way to show the entire distinct list from the collection not just the current page?  My gut is that there is not but figured I’d ask.  If there is not I will need to turn off the distinct list in the filter dialog, I think that will be less confusing for my users.  If I need to do that, can someone point me in the right direction to do that?

Many thanks,

Chris

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 27 Apr 2012, 09:01 AM
Hello,

Indeed by default RadGridView gets a list of distinct values from its data source. In case with RadDataPager data source is created by items from the current page.
You can take a look at this online help topic for more info how to change the default distinct values list.

Kind regards,
Nedyalko Nikolov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Chris
Top achievements
Rank 2
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or