Approved
Last Updated: 01 Jan 2020 15:22 by ADMIN

If you define a single WizardPage in the WizardPages collection and set its AllowFinish property to False, the Finish button is enabled.

To work this around, set the AllowFinish property in the Loaded event handler of the WizardPage control.

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

Approved
Last Updated: 22 Nov 2019 14:51 by ADMIN

If you change the DataContext property of WizardPage at run-time, the context in the content presenter that shows the footer is not updated accordingly. 

To work this around you can create a custom WizardPage and manually set the data context of the footer presenter.

public class CustomWizardPage : WizardPage
{
	private ContentControl footerContentControl;

	public override void OnApplyTemplate()
	{
		base.OnApplyTemplate();
		this.footerContentControl = this.GetTemplateChild("PART_FooterContentControl") as ContentControl;            
		this.DataContextChanged += CustomWizardPage_DataContextChanged;            
	}

	private void CustomWizardPage_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
	{
		this.footerContentControl.Content = e.NewValue;
	}
}

<telerik:RadWizard.WizardPages>
	<local:CustomWizardPage />
</telerik:RadWizard.WizardPages>

Approved
Last Updated: 04 Aug 2016 09:48 by ADMIN
ADMIN
Created by: Yoan
Comments: 0
Category: Wizard
Type: Feature Request
3

			
Approved
Last Updated: 04 Aug 2016 09:39 by ADMIN
ADMIN
Created by: Stefan Nenchev
Comments: 1
Category: Wizard
Type: Feature Request
4