Link to home
Start Free TrialLog in
Avatar of AppDevs
AppDevs

asked on

How to implement CANCEL button in ASP.Net wizard?

I am trying to use CANCEL button in ASP.Net wizard. I added CANCEL button from wizard properties.
I am able to display the button on the wizard. I am trying to apply functionality in the codebehind for this button.

Protected Sub wizardPurchase_CancelButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles wizardPurchase.CancelButtonClick
            //CODE GOES HERE
      End Sub

I am getting this error when I click the button.

How do I write functionality for CANCEL button?

cancel-button.bmp
error.bmp
ASKER CERTIFIED SOLUTION
Avatar of John Claes
John Claes
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AppDevs
AppDevs

ASKER

Got it. Thanks.