locked
hide/disable wizard previous button RRS feed

  • Question

  • User-1651858287 posted
    onpageLoad
    {
    if (Wizard1.ActiveStepIndex == 1)
                {
     ((Button)Wizard1.FindControl("StartNavigationTemplateContainerID").FindControl("StepNextButton")).Visible = false;
    
                }
    }

    I am getting a null reference object error

    Thursday, April 15, 2021 6:17 PM

Answers

  • User409696431 posted

    You can prevent a step from being returned to by editing it in the Wizard control. Use Add/Remove steps, select the step you want to be visited only once, and set AllowReturn to false.  The step after it will not have a Previous button.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 15, 2021 6:38 PM

All replies

  • User409696431 posted

    You can prevent a step from being returned to by editing it in the Wizard control. Use Add/Remove steps, select the step you want to be visited only once, and set AllowReturn to false.  The step after it will not have a Previous button.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, April 15, 2021 6:38 PM
  • User-1651858287 posted

    thanks

    Thursday, April 15, 2021 7:40 PM