Calling Next Step Button Click Wizard Control
I want to call the Wizard1_NextButtonClick like I have done below HOWEVER the page does not advance to the next step and remains at the first step.
Code:
Protected Sub Wizard_NextButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.NextButtonClick
End Sub
Protected Sub btnButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnButton.Click
Dim ee As New System.Web.UI.WebControls.WizardNavigationEventArgs(0, 1)
Call Wizard1_NextButtonClick(sender, ee)
End Sub
Re: Calling Next Step Button Click Wizard Control
Handle the ActiveStepChanged event. Set the ActiveStep property in there.
Re: Calling Next Step Button Click Wizard Control
oookkkk but how do I even call the next step from my own custom button and NOT the blasted button at the bottom right of the wizard?
Re: Calling Next Step Button Click Wizard Control
I see, your own navigation. Then you want the CustomNavigationTemplate. Have you implemented the CustomNavigationTemplate and placed your button in there?
Look at the section "Customizing the Navigation User Interface" on this page:
http://aspnet.4guysfromrolla.com/articles/062806-1.aspx