Unplanned
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;
}

Unplanned
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>

Completed
Last Updated: 18 Jul 2017 11:05 by ADMIN

Available in R3 2017 Release
Completed
Last Updated: 30 May 2017 13:30 by ADMIN
Workaround for this issue is replacing the template for the RadWizard with:

    <ControlTemplate x:Key="RadWizardTemplate" TargetType="telerikNavigation:RadWizard">
        <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
              <Grid>
                <ContentPresenter x:Name="PART_SelectedPagePresenter" Content="{Binding SelectedPage, RelativeSource={RelativeSource TemplatedParent}}">
                    <ContentPresenter.Visibility>
                        <Binding RelativeSource="{RelativeSource TemplatedParent}" Path="IsContentPreserved" Converter="{StaticResource InvertedBooleanToVisibilityConverter}"/>
                    </ContentPresenter.Visibility>
                </ContentPresenter>
                <Grid x:Name="ContentElementsPanel" Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=IsContentPreserved, Converter={StaticResource BooleanToVisibilityConverter}}"/>
            </Grid>
        </Border>
    </ControlTemplate>

instead of:

    <ControlTemplate x:Key="RadWizardTemplate" TargetType="telerikNavigation:RadWizard">
        <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
            <ContentPresenter x:Name="PART_SelectedPagePresenter" Content="{Binding SelectedPage,RelativeSource={RelativeSource TemplatedParent}}"/>
        </Border>
    </ControlTemplate>



Available in LIB version: 2017.2.605