Rank: Newbie Groups: Member
Joined: 10/18/2012 Posts: 5
|
Hi,
I have 2 questions regarding Added and Updated Rows: 1. Is there a way to keep the status of added or updated even after a postback? I want to postback, check for errors, and if there errors, allow them to fix and post again, but I need to hold on to the added and updated information. At the moment, the updated and added rows are empty after the first postback.
2. Is there a way to retrieve the rows by added/updated on the client side? This way I'd be able to loop through only items that have been added or updated since the page loaded.
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
No. There is no way to keep those. Everything will be "submitted" after postback, if you want to keep the status, you can add a hidden column and keep a flag in that column. The same works for client side as well ---- for example, you can keep a hidden "recordId" column, then loop through all Grid items on the client side, if you see the value of the "recordId" column is null, then that would be a new item added from the client side.
Thanks!
|