Posted 20 years ago
by CplHicks
I think there is a typo in the documentation for the wizard. In the NextButtonClickEvent page it says:
By default, the Wizard will move to the next WizardPage in the WizardPageCollection after this event fires. To cancel this behavior, set the Cancel property of the event argument to false. Then you can use the SelectedIndex property to set the WizardPage that should be displayed.
But unless I'm really confused the e.Cancel property must be set to true for this "skipping" functionality to work.
By default, the Wizard will move to the next WizardPage in the WizardPageCollection after this event fires. To cancel this behavior, set the Cancel property of the event argument to false. Then you can use the SelectedIndex property to set the WizardPage that should be displayed.
But unless I'm really confused the e.Cancel property must be set to true for this "skipping" functionality to work.