Results 1 to 4 of 4

Thread: Calling Next Step Button Click Wizard Control

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    Question 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

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Calling Next Step Button Click Wizard Control

    Handle the ActiveStepChanged event. Set the ActiveStep property in there.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    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?

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width