Hi
I would like to use the AJAX confirm button extension, but I am trying to attach it to the "FinishButton" that is automatically created with the ASP Wizard.
So in a nutshell when a user clicks the "finish" button in my wizard a message box will pop up asking the user if they are sure they would like to continue.
I'm using VWD2005 express and scripting in visual C#.
Please can someone help me out or point me in the right direction?
Cheers!!!
Hi
I managed to solve this one! Woooohoooo.
If anyone is interested then here's my ASP. You need to put the button extended inside the Finish Navigation Template itself.
<FinishNavigationTemplate>
<cc1:ConfirmButtonExtenderID="ConfirmButtonExtender1"runat="server"TargetControlID="FinishCompleteButton"ConfirmText="Are you sure you want to place this order?">
</cc1:ConfirmButtonExtender>
<asp:ButtonID="FinishPreviousButton"runat="server"Text="Previous"CommandName="MovePrevious"/>
<asp:ButtonID="FinishCompleteButton"runat="server"Text="Finish"OnClientClick="Wizard1_FinishButtonClick"CommandName="MoveComplete"/>
<asp:ButtonID="CancelButton"runat="server"Text="Cancel"CommandName="Cancel"/>
</FinishNavigationTemplate>
No comments:
Post a Comment