mm:mmButton ID="btnPutOnHold" runat="server" onclick="btnPutOnHold_Click" Text="Put on Hold" />I now want to add a confirm messagebox that will allow the user to go ahead and run the method or cancel. I changed the code to the following to accomplish this:
mm:mmButton ID="btnPutOnHold" runat="server" onclick="btnPutOnHold_Click" OnClientClick="return confirm('Are you sure you want to put on hold?')" Text="Put on Hold" />This code successfully presents the confirm dialog box when clicked, however, the OnClick event does not fire when 'OK' is clicked.