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

All Rows in EditMode and Paging Problem

1 Answer 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 12 Jun 2014, 01:39 PM
Hello everybody,

again I have a Problem I simply can not get solved. I have a databound RadGrid with several pages.
All the grids rows are in EditMode and shall stay in EditMode. I handle the Updating with an own
routine. Now when I apply changes to some Entries on one page and then change the page to edit
some more, the entries on the initial page are Reset. 
I guess I know why this is happening. As long as I do not fire my SQL update method, the underlying
database is logically not updated. As to keep all rows permanently I copied this example into my
PreRender. As this implies rebinding and fires every time i change the page the orginial SQL
data is loaded. Am I right about this (just for my understanding)?

Is there any approach to achieve what I want to do.

Thank you very much!

Max

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Jun 2014, 08:32 AM
Hi Max,

RadGrid have in memory only current page items, and the changes done to a grid will be only updated on a postback to server on UpdateCommand. Hence you have to save the first page record then go to next page, else it wont be persisted over paging.

Thanks,
Princy
Tags
Grid
Asked by
Max
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or