Hi,
We always add the inlinecount when going to the server since we need to know the total amount of pages. I guess you are talking about RadDataPager when mentioning PageSize, since RadDataFilter does not have a PageSize. If you wire RadDataPager and RadDataServiceDataSource, the first trip to the server will only fetch PageSize of records and not all of them.
I have prepared a sample project which demonstaretes this. When you run the project you will see all OData queries sent to the server in the box below the grid. Alternatively, you can use Fiddler to debug the web trafic. Run the project and you will see something like this:
--> Requesting http://localhost:55555/Services/NorthwindService/Customers()?$top=10&$inlinecount=allpages
<-- Server replied in 699 ms
As you see from this query, if PageSize is 10 we will add $top=10. We always add $inlinecount=allpages to get the number of all records.
In case you think that our component has some kind of a problem, please modify my sample project so it does exhibit the problem. Without being able to debug something I cannot really tell what is happening on your end.
Regards,
Rossen Hristov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application.
Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>