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

[Solved] Custom paging: Am I reading this example correctly?

2 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 11 Apr 2013, 12:00 PM
With regard to this example:  http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx

Am I reading this correctly?  It looks to me like in the NeedDataSource, if you have entered any filter or sort, custom paging is disabled.

In my own immediate project I implemented custom paging to deal with a rapidly growing database.  I now have a LinqToSql data layer that returns 15 records at a time (rather than the 1000+ it was doing before).  So far, so good.

Are you saying that if I do any filtering or sorting, I have to disable custom paging and download the whole record set again?

2 Answers, 1 is accepted

Sort by
0
Accepted
Kostadin
Telerik team
answered on 16 Apr 2013, 07:05 AM
Hi Boris,

You are absolutely correct. The custom paging need to be disabled in order to filter all the records and return only the filtered one. The same is valid for sorting as well.

Regards,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Boris
Top achievements
Rank 1
answered on 16 Apr 2013, 12:52 PM
That's what I've done. Looks good so far.

Thanks.
Tags
Grid
Asked by
Boris
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Boris
Top achievements
Rank 1
Share this question
or