The background:I am using WebDataGrid with an ObjectDataSource. The ObjectDataSource is referreing to my custom object with a Select and Update members. I am also using BatchUpdates. I have three buttons on the screen 'Save', 'Cancel', and 'Save and Submit'.
The question:Since all of the buttons trigger a postback, and the WebDatGrid's RowUpdating event is called before the OnClick event for the buttons, how do you in RowUpdating whether you should 'Save', 'Cancel', or 'Save and Submit'?
I found this thread that handles the Cancel button issue on the client side:
http://community.infragistics.com/forums/p/68200/345279.aspx#345279
Just call
$find("wdg1").get_behaviors().get_editingCore().clearBatchUpdates();