I have two buttons on ASP .NET form: Save and Save & Return. If user hits Save & Return I would like to save data etc. and go to another page. If user hits Save I want to stay on current page.
But I don’t know how to get information which button was clicked inside Updated/Inserted event of FormView. Is there a chance to get it?
Handle the ItemCommand event of FormView to save the reference of pressed button.