ConfirmButton is a simple extender that catches clicks on a button (or any instance of a type
derived from Button) and displays a message to the user. If the "OK" button is clicked, the
button or link functions normally. If not, the click is trapped and the button will not perform
its default submit behavior; optionally, a client script is executed if the OnClientCancel property
is set. This is useful for delete links or anything else that requires confirmation from the user.
The control above is initialized with this code. The italic properties
<ajaxToolkit:ConfirmButtonExtender ID="cbe" runat="server"
ConfirmText="Are you sure you want to click this?"