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

Telerik RadWizard Example 1 not working

3 Answers 227 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 22 May 2018, 01:22 PM

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>

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 25 May 2018, 10:16 AM
Hi Ricardo,

This behavior is observed when the referenced binaries are NoXAML. May I ask you to check this?

We provide two types of DLL: XAML and NoXAML. The idea of the NoXAML assemblies is to use them with completely implicit styles instead of the current way of styling. In the normal assemblies, you have all the XAML for all components for all themes included in the DLL and the styling is done with explicitly set styles - you have a huge assembly, you have styles and resources not applicable for your application, etc. With the Binaries.NoXaml you will get completely clean assembly with absolutely no XAML included and you can add manually only needed resources for your application.  

I am looking forward to your reply.

Regards,
Martin Vatev
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Ricardo
Top achievements
Rank 1
answered on 28 May 2018, 08:18 AM

Hi Martin,

Indeed i was using NoXaml, when i needed to use Xaml.

The project started working when i changed this.

Thanks for the information.

Regards

 

0
hema
Top achievements
Rank 1
answered on 18 Apr 2019, 12:25 PM

Hi Martin ,

Can we put this radwizard in a datatemplate and assign it to the window Contentcontrol.contenttemplate?

Please let me know if this is possible?

Regards,

Hema.

Tags
Wizard
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Martin
Telerik team
Ricardo
Top achievements
Rank 1
hema
Top achievements
Rank 1
Share this question
or