Events
The available events in the Telerik Wizard for Blazor are:
OnChange
The OnChange event is triggered on the current step and fires before the step has changed. The handler receives an object of type WizardStepChangeEventArgs which exposes the following fields:
TargetIndex- contains the index of the targeted new Wizard step.IsCancelled- specifies whether the event is canceled and the built-in action is prevented.
Custom Wizard buttons do not trigger the
OnChangeevent. See section Execute Business Logic With Custom Wizard Buttons.
The OnChange event handler is defined in the respective <WizardStep> tag.
Handle the
OnChangeevent of the first and second step (code snippet below)
ValueChanged
The ValueChanged event fires after the OnChange event, if the latter has not been canceled. The handler receives the new Wizard value (step index) as an event argument. Make sure to set it to the Value parameter, so that the new step content is rendered.
Handle the
ValueChangedevent of the Wizard
OnFinish
The OnFinish event fires when the Done button of the Wizard is clicked.
Custom Wizard buttons do not trigger the
OnFinishevent. See section Execute Business Logic With Custom Wizard Buttons.
Handle the
OnFinishevent of the Wizard (code snippet below)