FinishButtonClick Event Handler The handler for the Finish button is where you perform the final processing on the data gathered in the wizard. As well, if your wizard has a Complete step, you can then populate its content in this handler. The following example illustrates a sample FinishButtonClick event handler. protected void myWizard_FinishButtonClick(object sender, WizardNavigationEventArgs e) { // Gather the data from the various steps string email = txtEmail.Text; … // Gather the data from the various steps … // Now fill the content of the confirmation wizard step myLabel.Text = 'FinishButtonClick called'; Label labConfirm = (Label)myWizard.FindControl('labConfirmation'); labConfirm.Text = 'Order has been processed for ' txtEmail.Text; } Notice that in this example the FindControl method of the Wizard control is used to reference a control within the confirmation wizard step. This is necessary because the confirmation page has not yet been displayed; as a result, you cannot simply directly reference the control like you did with controls on the current or previously visited steps. - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
12 Apr 2019 03:46 PM study24x7 study24x7

FinishButtonClick Event Handler The handler for the Finish button is where you perform the final processing on the data gathered in the wizard. As well, if your wizard has a Complete step, you can then populate its content in this handler. The following example illustrates a samp...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles