Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
WebDatGrid, BatchUpdates, RowUpdating and OnClick event
posted

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'?

 

Parents
No Data
Reply Children
No Data