All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Normally the Wizardstep is only validating when stepping forward.
When I use the OnActiveStepChanged event the Wizard validates also validates on stepping backwards.
Can this be prevented? Is this a bug or by design?
Marc
Hello Marc,
The back button is triggering the postback but the validators are preventing the change on the server-side.
To overcome this, you can set the ActiveStepIndex manually in the PreviousButtonClick server-side event:
protected void RadWizard1_PreviousButtonClick(object sender, WizardEventArgs e) { if (e.CurrentStepIndex == e.NextStepIndex ) { RadWizard1.ActiveStepIndex = e.CurrentStepIndex-1; } }
Regards, Peter Milchev Progress Telerik
Hi Peter,
Thanks this does the trick.
For what it's worth, this also goes for the NavigationBarButtonClick event.