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

[Solved] Selected rows lost during paging

1 Answer 186 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric S.
Top achievements
Rank 1
Eric S. asked on 18 Feb 2010, 04:43 PM
Hi,

I have a radgrid that is similar to this example:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectrowwithcheckbox/defaultcs.aspx

The selected customers(rows) works fine on postback. However, once you select the pager and the page changes you lose your selected items on the previous page. Is there a way to keep in memory the selected items or would i have to persist the information from the viewstate? The example itself has the same problem.


1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 18 Feb 2010, 05:33 PM
Hello Eric,

As you probably noticed, you should persist the selected items manually. You can examine these help topics for more information:
Persisting the selected rows client-side on sorting/paging/filtering/grouping
Persisting the selected rows server-side on sorting/paging/filtering/grouping

Best regards,
Daniel
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.
Tags
Grid
Asked by
Eric S.
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or