I have the following command to delete button.
DeleteButton.Attributes.Add("Onclick", "javascript:return confirm(Are you sure?" + ");");
I want to know what the user has clicked(Ok/Cancel) on the server side to continue with delete.
How can this be achieved? code snippet or example would be great.