Ajax Control Toolkit ConfirmButton

Modified on 2010/04/16 00:06 by Stephen Walther — Categorized as: Uncategorized

ConfirmButton is an extender that catches clicks on a button (or on any instance of a type that is derived from Button) and displays a message to the user. If the user clicks OK, the button or link functions normally. If the user does not click OK, the click event is trapped and the button does not perform its default submit behavior. Optionally, you can specify client script to execute when the buttons are clicked in the confirm dialog box. This is useful if you use the ConfirmButton extender with a button that performs a delete operation or another task that might require confirmation from the user.

ConfirmButton Server Reference

The properties in italics are optional.

<ajaxToolkit:ConfirmButtonExtender ID="cbe" runat="server"
    ConfirmText="Are you sure you want to click this?"
    OnClientCancel="CancelClick" />

ConfirmButton Client Reference

Sys.Extended.UI.ConfirmButtonBehavior Class




Sys.Extended.UI.ConfirmButtonHiddenEventArgs Class