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

Select row server side, show selected client side

1 Answer 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 28 Jun 2012, 02:25 PM
Hi.

I was looking for a way to select rows in radgrid client side and it works out of the box from samples.

But now i want to change row selection, I'm loading items from database and have an list of previously selected items.

The previous items are the already selected items, so i want to load all items and select the checkboxes for previous items.

So if i have a list of eg. 5 items, i have selected 3 and save, now i load the 5 items and want to select this 3 i already choose previously, but if i do it server side the client side does not reflect this, so how to do this?

Do i need to change all my code to server side row selection?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 02 Jul 2012, 02:01 PM
Hello Andrew,

Please check out the following topic if you have previously declared list of selected items:
 Persisting the Selected Rows Client-side

If you decide to use a server-side approach please refer to the articles below:
 Persisting CheckBox control state
 Persisting the Selected Rows Server-side

I hope this will prove helpful.

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