Hello all,
I am trying to use update row batch to update the database when the save button is pushed. The problem is that I also have a Cancel button. Both buttons just trigger postbacks. UpdateRowBatch fires regardless of what control initiated the post back and it fires before the click event of the buttons. My question is, how can I stop the post back or prevent the update from taking place if the cancel button is pushed?
TIA,
Patrick
Update:
I forgot to mention that I am using dynamically created datasets to populate the datagrid using Initialize_datasource.