February 2009
1 post
4 tags
Confirmation Dialogs
Let’s assume we have the following button that deletes something: <asp:Button runat=”server” ID=”btnDelete” Text=”Delete” OnClick=”btnDelete_Click” />But before we delete it we should really confirm that the user wants to do it. The standard way to do this is to add an “onclick” attribute that makes a call to the javascript...