I want to change the button content depending on the previous content click. For example, if its Add then it should change to Save, and if it is Save then it should change back to Add.
I know how to change the content of a button. but how can one read the content to make a change?
Store the value of last click in the tag property of that button and check for its value on click.
Tag Description
MSDN Link
OR