Save button confirmt

I have an asp:Button that is called SaveButton. When it is clicked I would like to save items on the page. Before the items are saved I would ask the user to confirm that he wants to save. Only if he confirms then items should be saved.  How is best to do this?

<asp:Button ID="SaveButton1" runat="server" Text="Button"  onclick="SaveButton1_Click" />
johnkainnAsked:
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.