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

RadGrid filtering and grouping wiht custom paging

5 Answers 186 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Himanshu
Top achievements
Rank 1
Himanshu asked on 24 Mar 2008, 07:09 AM
Hi....All
I have implemented custom paging for radgrid.
It was working fine till I enabled grid for filtering and grouping.

Again....custom paging is working effectively when filtering or grouping is not used. I want to use custom paging effectively with filtering and grouping.

By Effective custom paging, I mean  fetching only those rows from database which are to be shown in grid ( according to page selected, filtering criteria applied or grouping applied)

wating for reply......

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 24 Mar 2008, 07:10 AM
Hi Himanshu,

Please check this example for more info:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/CustomPaging/DefaultCS.aspx

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Himanshu
Top achievements
Rank 1
answered on 24 Mar 2008, 07:13 AM
hi...vlad...thanks for your reply...
I have been to this before....but.. i just does not solve my problem....

it is not using paging while using grouping and filtering....

Please... let me know if you have any other idea...
0
Vlad
Telerik team
answered on 25 Mar 2008, 02:54 PM
Hi Himanshu,

When the grid is in custom paging mode all operations like filtering, sorting & grouping will be applied for the entire data source by default however you can control this at your business objects collection level if you return only needed data.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kasim
Top achievements
Rank 2
answered on 04 Mar 2020, 06:22 AM

Hi Vlad,

Can you please share an example code on how to do this?

The current example is not useful.

 

0
Eyup
Telerik team
answered on 06 Mar 2020, 12:15 PM

Hi Kasim,

 

Custom paging can be applied only for "Paging". When adding filtering/grouping/sorting operations the custom paging should be disabled at that moment, as demonstrated in the sample:
https://demos.telerik.com/aspnet-ajax/grid/examples/functionality/paging/custom-paging/defaultcs.aspx

More specifically, this line of code:

 RadGrid1.AllowCustomPaging = !ShouldApplySortFilterOrGroup();

Regards,
Eyup
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Himanshu
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Himanshu
Top achievements
Rank 1
Kasim
Top achievements
Rank 2
Eyup
Telerik team
Share this question
or