Hello everyone,
on my WPF application I have to use a WizardPages component to make a configuration. These configuration (and the relative pages) may changes based on a combobox item selectable on the first WizardPage (a page in common for all configurations).
My question is.... It's possible to add WizardPages dynamically based on the selection on the combobox of first page?
Thank you
I have added a wizard control in my WPF MVVM project.
On one page of the wizard I have a combobox that binds to a property from a model (MVVM)
After I moved to the next page, the value in that combobox is reset to NULL.
How do I preserve values selected in previous pages of the wizard
Thanks
Miroslav
I'm using this XAML in a small demo application.
The RadWizard is not showing up at all with Telerik version 2015.2.728.40, but works fine with version 2015.1.420.45.
I got the xaml from http://docs.telerik.com/devtools/wpf/controls/radwizard/getting-started
I'm trying to figure out *why* this isn't working.
<Window x:Class="Test.Shell"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
xmlns:csc="clr-namespace:ClientSignatureCapture.Views;assembly=ClientSignatureCapture"
Title="Shell" Height="700" Width="700">
<Grid>
<telerik:RadWizard x:Name="radWizard" >
<telerik:RadWizard.WizardPages>
<telerik:WizardPage Content="My Wizard Page Content" />
</telerik:RadWizard.WizardPages>
</telerik:RadWizard>
</Grid>
</Window>
Hi,
I have built the linked project, but my custom command provider is not being called when I click Finish. Please help.
Here is the link: https://drive.google.com/open?id=1HcYu05M7GAPJOJQqfL_l7FYtEMNwhu8i
Thanks,
Thomas
Hello,
If I write the following XAML code in a wizard page:
<Label Target="{Binding ElementName=txt_Code}"
Text="Code:" />
<TextBox Name="txt_Code" />
The binding is not made between the Label and the TextBox and VS shows the following error:
Cannot find source for binding with reference 'ElementName=txt_Code'. BindingExpression:(no path); DataItem=null; target element is 'Label' (Name=''); target property is 'Target' (type 'UIElement').
PS: Sorry for the formatting, but the formatting options are not working on this page...
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.
Hello,
I'm developing a new app using telerik radwizard, using the example found at
https://docs.telerik.com/devtools/wpf/controls/radwizard/features/pages
However, when i try to run my application, i get an empty window (see image in attached filed)
I don't know what I'm doing wrong, can someone help me?
Source code bellow:
<
Window
x:Class
=
"MainWindow.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:wizard
=
"clr-namespace:Telerik.Windows.Controls.Wizard assembly=Telerik.Windows.Controls.Navigation"
Title
=
"MainWindow"
WindowState
=
"Normal"
WindowStartupLocation
=
"CenterScreen"
WindowStyle
=
"None"
Background
=
"#dee3e9"
>
<
telerik:RadWizard
x:Name
=
"radWizard"
>
<
telerik:RadWizard.WizardPages
>
<
telerik:WizardPage
Content
=
"My Wizard Page Content"
SideHeaderWidth
=
"100"
HeaderHeight
=
"100"
>
<
telerik:WizardPage.HeaderTemplate
>
<
DataTemplate
>
<
Image
Source
=
"Images/BrandMark_Telerik_Black.png"
Width
=
"200"
Height
=
"100"
/>
</
DataTemplate
>
</
telerik:WizardPage.HeaderTemplate
>
<
telerik:WizardPage.SideHeaderTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"My Side Header"
/>
</
DataTemplate
>
</
telerik:WizardPage.SideHeaderTemplate
>
<
telerik:WizardPage.FooterTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
telerik:RadButton
Content
=
"Back"
Width
=
"70"
Height
=
"25"
Command
=
"wizard:RadWizardCommands.MoveCurrentToPrevious"
CommandParameter
=
"{Binding}"
/>
<
telerik:RadButton
Content
=
"Next"
Width
=
"70"
Height
=
"25"
Command
=
"wizard:RadWizardCommands.MoveCurrentToNext"
CommandParameter
=
"{Binding}"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:WizardPage.FooterTemplate
>
</
telerik:WizardPage
>
</
telerik:RadWizard.WizardPages
>
</
telerik:RadWizard
>
</
Window
>
Is there any way to bind a command to the built-in Previous/Next/Cancel buttons in the RadWizard?
I'd like to handle it in my viewmodel and not the xaml code behind.
Thanks,
Mahdieh,
Hi,
I'm running into this problem: I have a Wizard with some pages. If I place these pages directly into the Wizard in XAML, everything works well. However, as I wanted to manage the pages in a cleaner manner, I created and designed each page like a UserControl - I create a UserControl, change its base class to telerik:WizardPage, and design the page in it. Unfortunately pages created this way does not show in the Wizard.
Is this a bug or by design? What's the best practice to manage a Wizard with many pages, with each of which has its own complex logic?