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

[Solved] Paging Filtered Content in the Grid

2 Answers 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Abdulmenan
Top achievements
Rank 1
Abdulmenan asked on 03 Mar 2010, 03:22 PM

I have a grid which get's data based on filter parameters i have supplied in the controller's action method. The problem is when i enable paging, the second page request will not load the correct list, cause it forgets the filter parameters, how do i pass my filter parameters along with the page number for this control.

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 03 Mar 2010, 03:26 PM
Hi Abdulmenan,

Both Ajax and Server binding support passing additional values for cases like yours:

Grid()
       .Ajax(settings => settings.Action("action", "controller", new {id = "something"})

Grid()
       .ServerBinding(settings => settings.Action("action", "controller", new {id = "something"})

Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Abdulmenan
Top achievements
Rank 1
answered on 03 Mar 2010, 04:38 PM
Perfect!!!!!!!!!!!, Thanks a lot
Tags
Grid
Asked by
Abdulmenan
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Abdulmenan
Top achievements
Rank 1
Share this question
or