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

gridclientselectcolumn clearing when opening an edit form

2 Answers 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Casey
Top achievements
Rank 1
Casey asked on 18 Jul 2011, 07:16 PM
I have a radgrid which uses form templates for updating records in the grid. I also need to use this form to update multiple rows in the grid at the same time (global updates). I have a gridclientselect column and the code behind inplace to successfully do the update for multiple selected rows. I am running into one small problem which I need help. The checkboxes clear upon opening the edit form. The correct information is saved in RadGrid1.SelectedItems, but I am failing to understand why the checks are removed from the gridclientselectcolumn field. Is there a way to keep the items selected until the form is closed?

Please let me know if you need code snippets to help answer this question.

Thanks a bunch!

2 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 21 Jul 2011, 10:28 AM
Hi Casey,

Depending on what side you want to persist the selection of RadGrid, you could find information on the following resources:

Persisting the Selected Rows Client-side 

Persisting the Selected Rows Server-side

All the best,
Andrey
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Casey
Top achievements
Rank 1
answered on 21 Jul 2011, 04:50 PM
Thank you. I did see this information prior to posting, but I mistakenly tried to use the sample for the client side instead of researching how the server side worked. It works now that I am using the server side functionality. Sorry to have bothered you and thank you for the direction.

Casey
Tags
Grid
Asked by
Casey
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Casey
Top achievements
Rank 1
Share this question
or