Telerik Forums
UI for WPF Forum
1 answer
71 views
I have an issue with the Spellchecker window sometimes appearing behind the main application window. Is there any way to move the window to the top when it opens? I don't see any way to reference the Spellchecker window itself after it opens.
Tanya
Telerik team
 answered on 04 Jun 2018
2 answers
205 views

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="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"
                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

Ricardo
Top achievements
Rank 1
 answered on 04 Jun 2018
1 answer
910 views

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!

Martin Ivanov
Telerik team
 answered on 04 Jun 2018
4 answers
147 views

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

Martin Ivanov
Telerik team
 answered on 04 Jun 2018
1 answer
295 views
I have seen the new application "WFP Control Examples" and I would be interested in implementing the "hamburger menu" that expands like UWP mnufly. Is the code available in some repository?
Martin Ivanov
Telerik team
 answered on 01 Jun 2018
1 answer
146 views

Is there an option to set Duplex print for the RadRichTextbox?

 

Tanya
Telerik team
 answered on 01 Jun 2018
3 answers
134 views

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

Tanya
Telerik team
 answered on 01 Jun 2018
1 answer
109 views

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

Petar Mladenov
Telerik team
 answered on 01 Jun 2018
1 answer
71 views

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?

Dilyan Traykov
Telerik team
 answered on 31 May 2018
0 answers
169 views

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;
        }

 

Azharshah
Top achievements
Rank 1
 asked on 31 May 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?