Telerik Forums
UI for WPF Forum
2 answers
24 views

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

 

 

 

 

Marco
Top achievements
Rank 1
Iron
 answered on 02 Feb 2024
2 answers
34 views

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

 

MiroslavStantic
Top achievements
Rank 1
Iron
 answered on 03 Aug 2023
4 answers
86 views

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>

Susmitha
Top achievements
Rank 1
Veteran
Iron
 answered on 04 Jun 2020
4 answers
160 views
Hi, I'm a new developer in WPF.

I'm looking a way to validate a page of Wizard control when the "next" button is clicked. 
Basically I have a wizard where the first step check a connection with a SQL Database. This check is made from ViewModel. I need that when the Next is pressed the ViewModel do the check and if return "true" the wizard go to next step.

How I can do this?

I know how to call a command of ViewModel from Wizard but how I can tell "go ahead"?

Thanks.
enrico
Top achievements
Rank 1
Veteran
 answered on 27 Apr 2020
1 answer
53 views

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

Martin Ivanov
Telerik team
 answered on 10 Apr 2020
3 answers
751 views

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

 

Martin Ivanov
Telerik team
 answered on 13 Feb 2020
1 answer
46 views

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.


Martin Ivanov
Telerik team
 answered on 01 Jan 2020
3 answers
221 views

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="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                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>
hema
Top achievements
Rank 1
 answered on 18 Apr 2019
2 answers
282 views

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,

Mahdieh
Top achievements
Rank 1
 answered on 20 Feb 2019
2 answers
71 views

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?

Hillin
Top achievements
Rank 1
 answered on 05 Jan 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?