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

Clicking Page Numbers Wipes out Selection

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ClarkSRoberts
Top achievements
Rank 1
ClarkSRoberts asked on 08 Jul 2009, 07:05 PM
I have a Grid (Q2 2009) where I am assigning a datarouce in Page Load. If I select Page 2 through n it brings up a blank grid. Also, if I select anything from the Page Size menu it wipes out the selection.

Never mind. I realize I need to rebind the datasource

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 10 Jul 2009, 11:51 AM
Hello,

You may want to use the NeedDataSource event handler of the control, to assign the datasource.
Additionally, when paging, you can persist the selected items. Additional information on this option is available in the following article:

http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-client-sorting-paging-grouping-filtering.html

I hope these suggestions help.

Greetings,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
ClarkSRoberts
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or