Hi,
I would suggest you to use the SelectionChanging event since you can cancel it based on some condition. In this way you will cancel the navigation to other page. As for you other question - you can give a name of your WizardPages:
Then in the SelectionChanging event you can check the name of the new page (args.NewPage):
I hope this information helps.
Regards,
Yoan
Telerik
I would suggest you to use the SelectionChanging event since you can cancel it based on some condition. In this way you will cancel the navigation to other page. As for you other question - you can give a name of your WizardPages:
<telerik:RadWizard x:Name="myWizard" SelectionChanging="myWizard_SelectionChanging"> <telerik:RadWizard.WizardPages> <telerik:WizardPage Header="0" x:Name="page0"/> <telerik:WizardPage Header="1" x:Name="page1"/>Then in the SelectionChanging event you can check the name of the new page (args.NewPage):
private void myWizard_SelectionChanging(object sender, SelectedPageChangingEventArgs e) { if (e.NewPage.Name == "page1") { e.Cancel = true; } }I hope this information helps.
Regards,
Yoan
Telerik
See What's Next in App Development. Register for TelerikNEXT.