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
Hi, I'm using a RadGridView and I call a RowEditEnded function to:
Edit all columns when the first column value is 1, but after I changed the columns values the Grid values are not updated in real time.
My simple code is:
AreaCoeficienteEscoamento updatedItem = e.Row.Item as AreaCoeficienteEscoamento;
updatedItem.Area = 333;
updatedItem.Coeficiente = 333;
// How to update and refresh the table values?
Thks!
Hi Progress,
I was wondering if it is possible to combine BaseLine_WPF project and ProjectDeadline_WPF project inside your xaml-sdk-master samples/Examples?
If I have understood this correctly, TimelineContainerSelector in Xaml can only have one child. How can I give several behaviors to TimelineContainerSelector?
Thanx
Best Regards
kourosh
Is there an option to set Duplex print for the RadRichTextbox?
Hi,
I am using Telerik RichTextBox Mail Merge functionality. I am printing mail merge document in the background thread and it is working fine. Now just I want to print it both side of the paper. How can I do duplex printing with Mail Merge.
Thanks
Hi
Does OpenMaps provider have option that you type name of city in textbox and then you get pointed to that city.
Something like search. I saw in you examples that bing have that option .
what about openMaps ??
thanks
Hi,
I have the following definition of the control:
< :RadDocking PanesSource="{Binding panes}"...
Panes have of items which order is different than in the UI. I need to get the first pane in order to mark it in code as selected. How can I do it?
Hi Telerik,
I’m using RadGridView and RadDataPager. Items bound to RadDataPager Source. RadGridView’s ItemsSource is the PagedSource of RadDataPager. I’m using dynamic page size concept. For this I have styled the DataPagerPresenter. The RadComboBox is used inside the style for selecting the Page Size. A converter is used to set the ItemsSource of the RadComboBox.
The problem I’m facing here is, while initializing the RadDataPager the converter gets fired and the initial Page size (10) is set as ItemsSource. After the items are fetched from the service, The items are set to Source of the RadDataPager. Now, the converter is not getting fired to update the page size itemssource as it is having 1000 records. I want to display 10, 20, 30, 40, 50 as ItemsSource of RadComboBox.
How to update the ItemsSource of RadComboBox when items are set?
<ControlTemplate x:Key="DataPagerPresenterTemplate" TargetType="dataPager:DataPagerPresenter">
...
...
...
<tk:RadComboBox x:Name="pageSizeOptionComboBox" Grid.Column="1"
ItemsSource="{Binding RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource pageSizeCountConverter}}"
SelectedValue="{Binding PageSize, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
/>
...
...
...
</ControlTemplate>
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
DataPagerPresenter presenter = value as DataPagerPresenter;
var totalCount = presenter.PageCount * presenter.PageSize;
int i = 1;
List<int>
result = new List<int>();
for (int j = 0; j
< totalCount && result.Count < 5; j++)
{
if (i % 10 == 0)
{
result.Add(i);
}
i++;
}
return result;
}