Hi Friend , Today we will learn about ConfirmButtonExtender Control.This control displays a message to the user at the click event of the Button control. Here You will ask for the confirmation when the user clicks the button to fire some event.This popup will help users to correct the errors in the form if any.In this application,when you click the submit button,a message appears with the Confirmation dialog box.You can use your custom dialog box also.
There are some properties of ConfirmButtonExtender Control as given below:-
There are some properties of ConfirmButtonExtender Control as given below:-
- TargetControlID:-It is helpful to set the ID of the Button control to which the extender control attached.
- ConfirmText:-It sets the text that is displayed whit in the confirm dialog box.
- DisplayModelPopupID:-It sets the ID of a ModalPopupExtender control to use as a confirm dialog box.
- OnClentCancel:-This specifies the client-side script that executes when the cancel button is clicked in the confirm dialog box.
- ConfirmOnFormSubmit:- It determines,whether or not the confirm dialog box should wait when the form submits to display.