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

Selected Rows on Server for ClientSide Bound grid

1 Answer 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 22 May 2010, 12:37 AM
Hello Telerik team,

I have switched from server side to client side binding for performance reasons (was previously using a WebParts / AJAX server side framework) I still have the web parts framework in place and some events of the Grid still do AJAX postbacks.

Previously, with Server side binding, I was able to capture the selected rows that the user may have selected before invoking the postback. Now the MasterTableView.Items has the right number of rows in it, but each TableCell is empty ??!!

How can I get the state of the grid on the server during AJAX postbacks when using client side data binding.

Thanks
Bob

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 25 May 2010, 11:55 AM
Hello Bob,

Can you please check whether you have the EnableViewState property of the grid set to true? Thus the client selection of the grid should be retained across postback requests. The means to extract the data from the rows should be the same as with server-side binding as explained here. Let me know if I am leaving something from your logic out.
 
Best regards,
Sebastian
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.
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or