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

grid and paging

2 Answers 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Oren Kremer
Top achievements
Rank 1
Oren Kremer asked on 31 Oct 2010, 06:26 PM

Hello All,
 I use an example here: telerik example , I have RadGrid2 with property AllowPaging="true"
In this example, there ia a button and write:"Click PostBack to see the state of the grid is preserved."
And it works well, if I don't  change number of this page,
but if I change the page number all selected values from the preview page  not saved.
I have added to the grid property EnableViewState = "True", but it did not help .

Can you help me please?
Thank you

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 01 Nov 2010, 09:21 AM
Hi Eyal,

Please note that when paging is enabled RadGrid fetches only the data that is required for the items of the currently displayed page. That is why the control does not persist user selection when the displayed page changes. The following help article demonstrates how to work around this behavior:
Persisting the selected rows server-side on sorting/paging/filtering/grouping

I hope this helps.

Best wishes,
Pavlina
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
Oren Kremer
Top achievements
Rank 1
answered on 01 Nov 2010, 02:54 PM
Thanks
Tags
Grid
Asked by
Oren Kremer
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Oren Kremer
Top achievements
Rank 1
Share this question
or