Solved

How to implement CANCEL button in ASP.Net wizard?

Posted on 2011-02-14
2
838 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:AppDevs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
John Claes earned 500 total points
ID: 34888213
Protected Sub wizardPurchase_CancelButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles wizardPurchase.CancelButtonClick
            //CODE GOES HERE
      End Sub




Should be


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

0
 

Author Closing Comment

by:AppDevs
ID: 34888341
Got it. Thanks.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question