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

Expanding a detail table causes losing updated data on parent table

2 Answers 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
butters1982
Top achievements
Rank 1
butters1982 asked on 13 Sep 2012, 11:15 AM
Hello,
I'm trying to use radgrid client edit ("inplace" edit mode) on a parent table which has a detail table. (There is no need to update the cells of the detail table)
I change the parent table's cell value and then I click to another row and expand the detail table. But the cell which I updated turns to its old value. Updated data is lost. How can I hold the updated values when I expand the other rows? Please help.
Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 13 Sep 2012, 05:54 PM
Hello,

Please set below property to maintain updated value.

<MasterTableView HierarchyLoadMode="Client">

//OR

you can manfully  handle this thing. For reference checked below link.
http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-on-sorting.html

Steps : in page_load get updated value of textbox in save in session.
and In grid_prerender get value from session and assign to textbox

Thanks,
Jayesh Goyani
0
butters1982
Top achievements
Rank 1
answered on 15 Sep 2012, 08:24 PM
Hello,
Thank you very very much. I'd considered to change the design because of that problem.You helped me a lot.
Tags
Grid
Asked by
butters1982
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
butters1982
Top achievements
Rank 1
Share this question
or