Hello,
I have created a Radwizard Application (c#) that has a HeaderTemplate and a FooterTemplate.
Inside the footer i have created custom radbuttons for back, cancel, next and finish. However, i cannot seem to access them in the code behind.this.Rad.
RadWizard.xaml:
<
Window
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:wizard
=
"clr-namespace:Telerik.Windows.Controls.Wizard;assembly=Telerik.Windows.Controls.Navigation"
x:Class
=
"App.MainWindow"
Height
=
"450"
Width
=
"600"
Title
=
"MyApp"
>
<
telerik:RadWizard
x:Name
=
"Rad"
IsContentPreserved
=
"True"
Background
=
"#dee3e9"
>
<
telerik:WizardPage
HeaderHeight
=
"90"
>
<
telerik:WizardPage.HeaderTemplate
>
...
</
telerik:WizardPage.HeaderTemplate
>
<
telerik:WizardPage.FooterTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
Margin
=
"-0.5 -0.5 -1.51 -2"
HorizontalAlignment
=
"Left"
Width
=
"650"
>
<
telerik:RadButton
x:Name
=
"Back"
Content
=
"< Back"
Margin
=
"160 5 5 5"
Command
=
"wizard:RadWizardCommands.MoveCurrentToPrevious"
/>
</
StackPanel
>
</
DataTemplate
>
</
telerik:WizardPage.FooterTemplate
>
</
Window
>
I need to acess the RadButton inside the footertemplate from the code behind.
Can anyone help me?
Regards