Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to implement CANCEL button in ASP.Net wizard?

Posted on 2011-02-14
2
Medium Priority
?
859 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

885 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