Confirmation Buttons in .NET#
This is the simple way of doing "are you sure?" functionality in .NET:
<asp:button runat="server" id="btnSubmit" text="Do Something" onclick="btnSubmit_click" onclientclick="return confirm('Are you sure you want to do this?');">
</asp:button>
Enjoy.
All content © 2008, Dustin Updyke


Search
On this page
Archives
By The Minute