Hi,
My case, radgrid disappeared after BatchEditCommand logic
I want to know BatchEditCommand Exception logic
When DB is Exception, my solution is not New rebind, but user's Modified data
Thank you~!
protected void RadGrid1_BatchEditCommand(object sender, GridBatchEditingEventArgs e)
{
foreach (GridBatchEditingCommand command in e.Commands)
{
Hashtable newValues = command.NewValues;
Hashtable oldValues = command.OldValues;
// Oracle DB Insert/Update/Delete...
If(DB Exception)
{
// Rollback();
return; // Grid disppeard
}
}
//Commit(); // even in that case, Grid disappear
}
My case, radgrid disappeared after BatchEditCommand logic
I want to know BatchEditCommand Exception logic
When DB is Exception, my solution is not New rebind, but user's Modified data
Thank you~!
protected void RadGrid1_BatchEditCommand(object sender, GridBatchEditingEventArgs e)
{
foreach (GridBatchEditingCommand command in e.Commands)
{
Hashtable newValues = command.NewValues;
Hashtable oldValues = command.OldValues;
// Oracle DB Insert/Update/Delete...
If(DB Exception)
{
// Rollback();
return; // Grid disppeard
}
}
//Commit(); // even in that case, Grid disappear
}