Solved

How to implement CANCEL button in ASP.Net wizard?

Posted on 2011-02-14
2
794 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
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 …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now