Welcome Guest Search | Active Topics | Sign In | Register

Added and Updated Rows Options
GMM
Posted: Thursday, January 24, 2013 12:36:12 PM
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.
eo_support
Posted: Thursday, January 24, 2013 12:47:35 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.