ConfirmButtonExtender Server Reference
ConfirmButton extender class definition
ConfirmButtonExtender Server Properties
| Name | Description |
| ConfirmOnFormSubmit |
True iff the confirm dialog should run for form submission (i.e., after validators are all satisfied)
|
| ConfirmText |
Text to display in the confirm dialog
|
| DisplayModalPopupID |
Specifies the ID of a pre-configured ModalPopupExtender to use in place of window.confirm
|
| OnClientCancel |
Gets or sets the client-side script that executes when the cancel button is clicked on the confirm dialog.
|
| PostBackScript |
Specifies the script to run to initiate a postback
|
ConfirmButtonExtender Server Methods
| Name | Description |
| OnLoad(System.EventArgs) |
OnLoad override
|
| RegisterDisplayModalPopup |
Registers the target of DisplayModalPopupID for use with ConfirmButton
|
ConfirmButtonBehavior Client Reference
The ConfirmButtonBehavior extends buttons by providing a confirmation dialog when clicked
ConfirmButtonBehavior Client Properties
| Name | Description |
| ConfirmOnFormSubmit | True iff the confirm dialog should run for form submission (i.e., after validators are all satisfied) |
| ConfirmText | The text to show when you want to confirm the click. (Note: HTML entities can be used here (ex: "
" for new-line)) |
| displayModalPopupID | ID of a ModalPopupBehavior to be used instead of the default window.confirm dialog |
| OnClientCancel | The client-side script that executes when the cancel button is clicked on the confirm dialog. |
| postBackScript | Script to run to initiate a postback |
ConfirmButtonBehavior Client Methods
| Name | Description |
| dispose |
Dispose the behavior
|
| initialize |
Initialize the behavior
|
| raiseHidden |
Raise the hidden event
|
| raiseShowing |
Raise the showing event
|
| WebForm_OnSubmit |
Wraps ASP.NET's WebForm_OnSubmit in order to display the confirm dialog prior to submission
|
ConfirmButtonBehavior Client Events
| Name | Description |
| hidden |
Add an event handler for the hidden event
|
| showing |
Add an event handler for the showing event
|