Hello,
is it possible to set different VerticalAlignment-Properties for RadPanelItems in a RadPanelBar?
I want to vertical align the first item to top (fixed height) and then the second item to stretch with the User Control.
I tried this solution, but it won't work:
<
telerik:RadPanelBar
ExpandMode
=
"Multiple"
ScrollViewer.HorizontalScrollBarVisibility
=
"Disabled"
>
<telerik:RadPanelBarItem
Header
=
"Liveliste"
IsExpanded
=
"True"
VerticalAlignment
=
"Top"
>
<
views:StationsLiveView
/>
</
telerik:RadPanelBarItem
>
<
telerik:RadPanelBarItem
Header
=
"Teilnehmerliste"
IsExpanded
=
"True"
VerticalAlignment
=
"Stretch"
>
<
views:StationsUserView
/>
</
telerik:RadPanelBarItem
>
</
telerik:RadPanelBar
>
Greetings.
I have just downloaded and installed the trial for Telerik WPF. I require a Linear Gauge control. I have read the documentation and my understanding is that the Linear Gauge control is a container/wrapper of the Linear Scale control. Should there be a Linear Scale control in the toolbox, because if so, I am not seeing it in the toolbox (VS 2017)?? I was able to manually write some XML code per the example in the documentation for the Scale for my linear gauge, but I'm hoping that is not what is required and that the Linear Scale is a control where I can simply set some properties, etc. Outside of manually writing code to create the scale, how do I implement a linear scale for a linear gauge control?
Thank you,
Don
Hi,
I'm following the example provided by telerik in order to develop an application with a radtileview. However, i need to make the items dynamically form the code behind, so my question is how do i define the row and column for each item in the code behind, i.e., similar to what is done in the following example:
<telerik:RadTileView x:Name="Form" MinimizedItemsPosition="Bottom"
MaximizeMode="Zero"
DragMode="Swap" PreservePositionWhenMaximized="True" Width="700"
RowsCount="{Binding Rows,Mode=TwoWay}"
ColumnsCount="{Binding Columns,Mode=TwoWay}">
<telerik:RadTileView.ItemsPanel>
<ItemsPanelTemplate>
<local:TemplateForm RowsCount="10" ColumnsCount="4" />
</ItemsPanelTemplate>
</telerik:RadTileView.ItemsPanel>
<telerik:RadTileViewItem MinWidth="175" MinHeight="45"
local:TileViewProperties.Row="0"
local:TileViewProperties.Column="0"/>
</telerik:RadTileViewItem>
</telerik:RadTileView>
Can anyone help me?
Thanks
hello,
I was recently tasked with adding UI Automation testing to a WPF MVVM application developed by my team.
The application is using RadControls 2018.1 extensively, and I'm struggling to automate actions around RadTreeView.
I've added the steps needed to add Telerik control support to Coded UI, as described this page.
Please note we're using Visual Studio 2017 Enterprise.
Then, I created a new Coded UI Test Project to my existing solution, and tried to record a simple test using CUIT builder:
When trying to run the recorder test, sometimes it fails to find the RadTreeView, and when it does find it, it fails to navigate the tree correctly (see below).
The main window contains two RadTreeViews, both supplied with a unique AutomationId, both use data-binding, and marked with IsVirtualized. Sometimes the test fails to navigate the first tree (on which we recorded the actions), but succeeds in opening the desired item from the second tree. This is probably due to the both trees being bound to related collections (containing shared items).
Later, I guessed that the issues I'm experiencing might be related to the fact that RadControls doesn't fully implement all levels of CodedUI support. After reading a bit about Progress Test Studio and it's extensive Telerik UI support, I downloaded it's trial version and tried to record the same test.
I used translators and control highlighting context menu, to specifically choose the left-click action on the TreeViewItem's ExpandButton. This way, navigation through the tree actually works, but on the final step, the wrong TreeVIewItem is being double-clicked...
I'm starting to lose fate that our application can actually be automated, and I haven't event started with assertion, or more complex use-cases in our application. Your support will be very welcomed.
Hi all,
We are currently evaluating different charting libraries for 3D rendering. One of them being Telerik, in trial mode.
Everything till now looked perfect but we ran into a weird issue while using RadCartesianChart3D. This happens when we are running the application on Machine1 which is Windows 7 and access this machine using remote desktop from Machine 2. When we run the application on Machine 1 we can see all the surface series being rendered correctly. But if I try to access the solution from machine 2(different PC) using remote desktop session, Visual studio crashes. No Exceptions are caught.
I have attached the Event Viewer of the machine 1 where the applications is running.
Development environment on machine 1: VS 2017 , .Net framework 4.7.1.
Telerik Version: See file attached.
We found that,the other parts of the application which renders a RadHeatMap works perfectly fine even in a remote desktop mode.
Upon further Investigation, it seems that Data Binding could be problematic. I have attached the code below:
The series with no-binding, all data points defined in the Xaml , statically defined, works fine. But the one with the binding to a "test1" object fails during remote desktop session.
<
telerik:RadCartesianChart3D
x:Name
=
"radView"
>
<!--Axis definitions-->
<
telerik:RadCartesianChart3D.XAxis
>
<
telerik:LinearAxis3D
LabelStyle
=
"{StaticResource LabelStyle}"
/>
</
telerik:RadCartesianChart3D.XAxis
>
<
telerik:RadCartesianChart3D.YAxis
>
<
telerik:LinearAxis3D
LabelStyle
=
"{StaticResource LabelStyle}"
/>
</
telerik:RadCartesianChart3D.YAxis
>
<
telerik:RadCartesianChart3D.ZAxis
>
<
telerik:LinearAxis3D
LabelStyle
=
"{StaticResource LabelStyle}"
/>
</
telerik:RadCartesianChart3D.ZAxis
>
<
telerik:RadCartesianChart3D.Series
>
<
telerik:SurfaceSeries3D
>
<
telerik:SurfaceSeries3D.DataPoints
>
<
telerik:SurfaceDataPoint3D
XValue
=
"10.1"
YValue
=
"14.11"
ZValue
=
"9.5"
/>
<
telerik:SurfaceDataPoint3D
XValue
=
"20.2"
YValue
=
"21.4"
ZValue
=
"7.5"
/>
<
telerik:SurfaceDataPoint3D
XValue
=
"30.3"
YValue
=
"441.4"
ZValue
=
"6"
/>
<
telerik:SurfaceDataPoint3D
XValue
=
"40.4"
YValue
=
"22.4"
ZValue
=
"6"
/>
<
telerik:SurfaceDataPoint3D
XValue
=
"50.5"
YValue
=
"111.332"
ZValue
=
"6.55"
/>
<
telerik:SurfaceDataPoint3D
XValue
=
"60.6"
YValue
=
"221.4"
ZValue
=
"6.555"
/>
<
telerik:SurfaceDataPoint3D
XValue
=
"70.7"
YValue
=
"221.2"
ZValue
=
"5.55"
/>
<
telerik:SurfaceDataPoint3D
XValue
=
"80.7"
YValue
=
"31.22222"
ZValue
=
"5.5"
/>
<
telerik:SurfaceDataPoint3D
XValue
=
"90.7"
YValue
=
"221"
ZValue
=
"5"
/>
</
telerik:SurfaceSeries3D.DataPoints
>
</
telerik:SurfaceSeries3D
>
<
telerik:SurfaceSeries3D
x:Name
=
"test"
XValueBinding
=
"X"
YValueBinding
=
"Y"
ZValueBinding
=
"Z"
ItemsSource
=
"{Binding test1}"
>
<
telerik:SurfaceSeries3D.Colorizer
>
<
telerik:SurfaceSeries3DDataPointColorizer
ColorBinding
=
"ColorValue"
/>
</
telerik:SurfaceSeries3D.Colorizer
>
</
telerik:SurfaceSeries3D
>
</
telerik:RadCartesianChart3D.Series
>
</
telerik:RadCartesianChart3D
>
Test1 object look like this:
public class test
{
public double X { get; set; }
public double Y { get; set; }
public double Z { get; set; }
public Color ColorValue { get; set; }
public PlotInfo(double x, double y, double z)
{
X = x;
Y = y;
Z = z;
ColorValue = Color.FromArgb(128, 255, 255, 0);
}
}
Further, as soon as I change the types for X, Y and Z to int from doubles, everything is fine and 3D charts are rendered properly.
So In short, the problem is with the RadCartesianChart3D in a remote desktop mode, binding to an object with double values. Any suggestions please?
We are currently in evaluation mode and we would like to wrap it up as soon as possible. If you need more details please let me know.
I am using a Telerik theme (VisualStudio2013) and want to change the color of certain controls within my ListBox depending on the selection state. So in my contrived example below I want the BorderBrush and Separator Background to become blue (the VisualStudio2013 color) when the associated ListBoxItem is selected.
My attempt shown below with a RelativeSource binding does not work.
<
Window
x:Class
=
"TelerikWpfApp2.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
DataContext
=
'{Binding RelativeSource={RelativeSource Self}}'
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Window.Resources
>
<
DataTemplate
x:Key
=
"MyItemTemplate"
>
<
StackPanel
>
<
Label
Content
=
"{Binding}"
/>
<
Border
Height
=
"30"
Background
=
"White"
BorderBrush
=
"{Binding Background, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadListBoxItem}}}"
Padding
=
"2"
BorderThickness
=
"5"
>
<
Separator
Background
=
"{Binding Background, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadListBoxItem}}}"
Height
=
"4"
Margin
=
"6"
></
Separator
>
</
Border
>
</
StackPanel
>
</
DataTemplate
>
</
Window.Resources
>
<
Grid
>
<
telerik:RadListBox
ItemTemplate
=
"{StaticResource MyItemTemplate}"
ItemsSource
=
"{Binding TheList}"
>
</
telerik:RadListBox
>
</
Grid
>
</
Window
>
public
partial
class
MainWindow : Window
{
public
ObservableCollection<
string
> TheList {
get
;
set
; } =
new
ObservableCollection<
string
> () {
"A"
,
"B"
,
"C"
};
public
MainWindow ()
{
InitializeComponent();
}
}
Hi,
I'm using the RadRibbonView with IsMinimized=true at startup. We're noticing that the ribbon panel part is not collapsed until 'after' the ContentRendered event. As a result, for a brief moment, you can see the layout of the main window with the ribbon panel open and using the vertical space, and then quickly, the layout of the rest of the window shifts up as the ribbon panel is collapsed. It's a bit distracting.
To test:
- Add RadRibbonView with IsMinimized=true
- Override OnContentRendered in main window and put a breakpoint on the base.OnContentRendered line.
- Notice that the ribbon is not yet 'minimized' and is occupying space in the layout.
- Continue and it will minimize.
Hi
I've created a new custom field which write in a span some text(with some carriage returns)
When I put it inside the RTB it is not formatted with the same font family, font size, etc as the sibling elements
I doesn't inherit the formats the the sibling elements already have
If I put a docvariable all is fine
thanks in advance
Hi.
Following the Database example I have built my own version of exceptions.
I have managed to actually create, save to a database and recover to show an exception for a certain appointment. Now my problem is that the original occurrence still shows up.
(Attached is the image: on tuesday you can see the exception, but above it is the parent occurrence. (the appointment is one with a recurrence rule of every weekday).
Obviously, I am missing something but I don't get what...
Thanks in advance.