As you can see I call GetInput() function. In it I need to create a confirm message. If the user selects Yes then the rest of the function should be executed and postback made, otherwise the postback should be cancelled
<asp:button id="SaveButton" runat="server" text="Save" onClientClick="GetInput()" onclick="SaveButton_Click" />
From novice to tech pro — start learning today.