This is a migrated thread and some comments may be shown as answers.

RadWizard AllowFinish ignored if there is only one wizardpage

1 Answer 25 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Tommy
Top achievements
Rank 1
Tommy asked on 28 Dec 2019, 12:26 AM

If there is only one wizardpage in the WizardPages collection, the AllowFinish property is ignored completely and the Finish button is enabled even if set to false directly or using a binding.

 

Using the latest version of UI for WPF.


1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 01 Jan 2020, 03:24 PM

Hello Tommy,

It seems that this is an issue with RadWizard. I have logged it in our feedback portal where you can track its status and also updated your Telerik points. To work this around, set the AllowFinish property after the WizardPage is loaded.

private void WizardPage_Loaded(object sender, RoutedEventArgs e)
{
	var page = (WizardPage)sender;
	page.AllowFinish = false;
}

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Wizard
Asked by
Tommy
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or