Google Search

Google
 

Sunday, July 13, 2008

Video: How Do I: Use the ASP.NET AJAX ConfirmButton Extender?

Presenter:Joe Stagner

Learn how the ConfirmButton extender in the ASP.NET AJAX Control Toolkit provides a simple way to add a confirmation dialog to the click event of a Button, LinkButton, or ImageButton control. This provides the user with the option to cancel an impending action.

The following text is a software generated transcript of the video. Click on a minute link to jump to a location within the video


Minute 0

Its video quickly demonstrate perhaps the easiest of the extenders that are provided with the objects control to get the extender so I ll could Ajax enabled system to enable website and go to design mode thing about this AVI from the extenders is a really simple way to add a confirmation dialog to the click event of a button just but just to make sure the you view through our last chance to confirm that whatever they re submitting is in fact what they want to be submitting services in ASP net button control and to the page I m going to add a come from extender and in in the properties of the confirm button extender or to select the button I want to the

Minute 1

Want to confirm up and notice there s only one button control the pace of the set is the bedrock that has not one but basically as I reviewed in previous videos to control extenders are designed to extend a particular category of controls or even one specific control and so the the design time experience is intelligent enough to enumerate the controls of the specified type on the page and give all of the instances of the control type of to you in this drop downs of the play button control all the controls or on this page would be enumerated here in this is dropped of us there was a one button so that s the one that appears that if we switch to the button itself and scroll down to the properties collection will note that is an extended collection has been injected because this control has an aside as the target control for extender and here are the here are the

Minute 2

Come extension properties are available so I was at attacks are you sure you want to submit an and that s not however one and just for the sake of demonstrate a demonstration one at a label control here and come let s make up the text of that label and then the code behind and specify server side text so when the when this event fires will populate that label with the with this text server side text so

Minute 3

Good weather application and I know that tells us how you should so I clicked cancel this and it never happened so there s no server side interaction takes place if I could cancel however if I click okay when we get that server side Iraqi and it says that easy to add a confirm dialog to your button click event s interviewer is to have applications using the control extender for confirm button s bishops is like a soft eject controls look at

Click here to go to original video page

No comments: