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

How to get all rows, not only current page's row

2 Answers 259 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 25 Feb 2014, 12:25 PM
I am having checkbox column Template column. I am trying to select 2 records from one page then i go on another select 3 record from 2nd page . now i click on 5th selected all recrod from this page. But it will not work

In my code i lost selection on previous pages

and if i select record from different pages then copy selected records from that grid1 to grid 2

How to get all rows, not only current page's row
Checkbox Select - Multiple Pages


Please help THanks 

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 25 Feb 2014, 12:39 PM
Hi Rahul,

Please take a look at the following article on Persisting CheckBox control state in GridTemplateColumn on rebind.
This helps to retain the state for checkbox control inside GridTemplateColumn on grid operation which requires rebinding. 

Thanks,
Princy
0
Eyup
Telerik team
answered on 28 Feb 2014, 10:34 AM
Hi Rahul,

Alternatively, you can implement an approach similar to the one demonstrated in this code-library:
http://www.telerik.com/support/code-library/get-selected-items-through-all-pages

Hope this helps.

Regards,
Eyup
Telerik
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 UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Rahul
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Eyup
Telerik team
Share this question
or