Telerik Forums
UI for WPF Forum
1 answer
242 views

I'm currently using the demo version of UI WPF to evaluate the controls, and have placed a RadComboBox into my application by declaring a UserControl of that type in xaml (see attached file).

In the codeback, I then try to get the PART_EditableTextBox, so that I can set some event handlers for it.  This works using the Microsoft ComboBox, but with the RadComboBox, during execution the call to get the TextBox fails, leaving my variable with a value of null.  See attached file.  As you can see, the referenced delegates are defined.  textBox is defined at class level as in the other screenshot.

Why is this happening?

Ken
Top achievements
Rank 1
 answered on 18 Apr 2018
5 answers
134 views

Hi,

I have a RadDropDownButton which has as a dropdowncontent a user control which contains a radgridview.

If you try to select any row from the grid when you are using a tablet, the row is not selected.

If the same user control is put in a normal window, and not inside the dropdowncontent of the button, it works fine with the touchscreen.

Can you please let me know if there is a solution to this issue? I have been struggling for days to find a solution with no success.

 

Thank you.

Angelina
Top achievements
Rank 1
 answered on 18 Apr 2018
3 answers
220 views

In the attached very simple project, the main window has a single RadExpander containing a single RadNumericUpDown control. The Viewmodel adds a validation rule which always sets the only property (MyValue) as failed. (I tried to attach files but your system no longer lets me!)

When the RadExpander.IsExpanded property is set to false (as in the attached code), and you then expand it, you'll see the RadNumericUpDown appears normally, without any validation error adornment.

If you change RadExpander.IsExpanded property in the xaml to true and you run, you'll see the RadNumericUpDown has the validation error adornment and shows the error tooltip.

Why? If you use either Snoop or the VS tools, you'll see that the RadNumericUpDown has the error in both cases.

I'm using 2017.3.1018.45 on Win 10 x64.

Thanks.

-John.

 

Martin Ivanov
Telerik team
 answered on 18 Apr 2018
1 answer
120 views

Hi,

I have a button outside the RadGridView. What I want is to click the button to insert new record to the RadGridView. The problem is that I have a DataPager. It seems to prevent me to insert a new record because I have page size set up.

Or maybe I have to go to last page once I click this button? How to do it?

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Apr 2018
3 answers
151 views

Hello!

I'm troubled, by export to image RadCartesianChart3D, don't display labels, is this a common problem?

Martin Ivanov
Telerik team
 answered on 18 Apr 2018
1 answer
53 views

In the attached very simple project, the main window has a single RadExpander containing a single RadNumericUpDown control. The Viewmodel adds a validation rule which always sets the only property (MyValue) as failed. (I tried to attach files but your system no longer lets me!)

When the RadExpander.IsExpanded property is set to false (as in the attached code), and you then expand it, you'll see the RadNumericUpDown appears normally, without any validation error adornment.

If you change RadExpander.IsExpanded property in the xaml to true and you run, you'll see the RadNumericUpDown has the validation error adornment and shows the error tooltip.

Why? If you use either Snoop or the VS tools, you'll see that the RadNumericUpDown has the error in both cases.

I'm using 2017.3.1018.45 on Win 10 x64.

Thanks.
-John.

Martin Ivanov
Telerik team
 answered on 18 Apr 2018
1 answer
73 views

In the attached very simple project, the main window has a single RadExpander containing a single RadNumericUpDown control. The Viewmodel adds a validation rule which always sets the only property (MyValue) as failed. (I tried to attach files but your system no longer lets me!)

When the RadExpander.IsExpanded property is set to false (as in the attached code), and you then expand it, you'll see the RadNumericUpDown appears normally, without any validation error adornment.

If you change RadExpander.IsExpanded property in the xaml to true and you run, you'll see the RadNumericUpDown has the validation error adornment and shows the error tooltip.

Why? If you use either Snoop or the VS tools, you'll see that the RadNumericUpDown has the error in both cases.

I'm using 2017.3.1018.45 on Win 10 x64.

Thanks.
-John.

Martin Ivanov
Telerik team
 answered on 18 Apr 2018
6 answers
1.3K+ views

Hi all,

I have some padding and margin problems about treeview items. I wanted to mark it at my attachment image. I'm having trouble about the red and the yellow marked spaces. I tried many things but can not succeed.

Here is my treview : 

01.<telerik:RadTreeView x:Name="radTreeView"
02.    IsTriStateMode="True"
03.    ItemsSource="{Binding SomeSource, Mode=TwoWay}"
04.    IsOptionElementsEnabled="True" >
05.     
06.    <telerik:RadTreeView.ItemContainerStyle>
07.        <Style TargetType="telerik:RadTreeViewItem">
08.            <Setter Property="telerik:RadTreeViewItem.IsExpanded" Value="True"/>
09.            <Setter Property="telerik:RadTreeViewItem.IsChecked" Value="True"/>
10.        </Style>
11.    </telerik:RadTreeView.ItemContainerStyle>
12. 
13.    <telerik:RadTreeView.ItemTemplate>
14.        <HierarchicalDataTemplate ItemsSource="{Binding Path=Siblings, Mode=TwoWay}">
15.            <telerik:RadTreeViewItem x:Name="treeViewItem"
16.                Header="{Binding Header}" DataContext="{Binding .}"/>
17.        </HierarchicalDataTemplate>
18.    </telerik:RadTreeView.ItemTemplate>
19. 
20.</telerik:RadTreeView>

 

Here is my custom styles : 

 

01.<Style TargetType="telerik:RadTreeView"
02.    BasedOn="{StaticResource RadTreeViewStyle}">
03.    <Setter Property="BorderThickness" Value="5"/>
04.    <Setter Property="IsLineEnabled" Value="False" />
05.    <Setter Property="telerik:StyleManager.Theme" Value="Office2016" />
06.</Style>
07. 
08.<Style TargetType="telerik:RadTreeViewItem"
09.    BasedOn="{StaticResource RadTreeViewItemStyle}">
10.    <Setter Property="HorizontalAlignment" Value="Left" />
11.    <Setter Property="HorizontalContentAlignment" Value="Left" />
12.    <Setter Property="MinHeight" Value="8" />
13.</Style>

 

Thank you in advance.

 

 

Mustafa Erhan
Top achievements
Rank 1
 answered on 18 Apr 2018
3 answers
143 views
Hi please let the community know the official status of Telerik support rad WPF components or otherwise in the latest Xamarin environment. It would be incredible to develop once with radcontrols, then deploy the same UX to android, windows, and iOS. Thanks Mark
Yana
Telerik team
 answered on 18 Apr 2018
3 answers
234 views
I have a half-circle radial gauge that is contained in a panel.  The problem is that when the panel is resized, the gauge background and the gauge scale stretch independently, giving odd visual results.  See the two attached images.  I have tried setting a variety of gauge properties, but cannot get a result where the two resize with the same aspect ratio.

Thanks for any help on this.
Dan
kaliprasad
Top achievements
Rank 1
 answered on 17 Apr 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?