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.
Hi Telerik ,
i have a problem but can´t see a solution yet.I do not know if its a bug somewhere.I hope you have a hint what could be the problem.
MVVM + WPF
1) I have a Grid + RadDataForm
<Grid> <telerik:RadDataForm x:Name="LookupListFormCtrl" Header="{Binding DisplayName,FallbackValue='Lookup'}" AutoGenerateFields="False" CommandButtonsVisibility="All" ItemsSource="{Binding Nodes,Mode=TwoWay}" CurrentItem="{Binding SelectedUiDataItem,Mode=TwoWay}" BorderBrush="Green" BorderThickness="6" ReadOnlyTemplate="{StaticResource LookupListFormDataTemplate}" EditTemplate="{StaticResource LookupListFormDataTemplate}" /> </Grid>
with the Resource Template as
<DataTemplate x:Key="LookupListGridDataTemplate" DataType="{x:Type local:LookupListGrid}">
<UniformGrid Columns="2">
<telerik:DataFormDataField Label="LOOKUP"
DataMemberBinding="{Binding lookup_lkp, Mode=TwoWay}"/>
<telerik:DataFormComboBoxField Label="GROUP LOOKUP"
DataMemberBinding="{Binding group_lookup_lkp, Mode=TwoWay}"
DisplayMemberPath="display_nam"
ItemsSource="{Binding Nodes.GroupLookups}"
SelectedValuePath="lookup_lkp"
IsComboboxEditable="False" />
<telerik:DataFormComboBoxField Label="PAR LKP LOOKUP"
DataMemberBinding="{Binding par_lkp_lookup_lkp, Mode=TwoWay}"
DisplayMemberPath="display_nam"
ItemsSource="{Binding Nodes.ParLkpLookups}"
SelectedValuePath="lookup_lkp"
IsComboboxEditable="True" />
<telerik:DataFormComboBoxField Label="PAR LKP GROUP LOOKUP"
DataMemberBinding="{Binding par_lkp_group_lookup_lkp, Mode=TwoWay}"
DisplayMemberPath="display_nam"
ItemsSource="{Binding Nodes.ParLkpGroupLookups}"
SelectedValuePath="lookup_lkp"
IsComboboxEditable="True" />
<telerik:DataFormDataField Label="DISPLAY"
DataMemberBinding="{Binding display_nam, Mode=TwoWay}"/>
<telerik:DataFormDataField Label="DISPLAY SHORT"
DataMemberBinding="{Binding display_short_txt, Mode=TwoWay}"/>
<telerik:DataFormCheckBoxField Label="VALID" DataMemberBinding="{Binding IsValidYn, Mode=TwoWay}" />
</UniformGrid>
</DataTemplate>
I query the Data from DB and it´s shown as well if i press the Update Button the Form changes to writable and all the Columns are viewable and changeable.
So Fine.
My "Nodes" Class ( = Item Source ) is derived from ObservableItemCollection<T> and enhanced with IEditableCollectionView, IEditableCollectionViewAddNewItem
In the derived Class the methods of IEditableCollectionView are written and linked to a class which is as well derived from
DataFormCommandProvider. ( because i encapsulate all the method calls there )
Additionaly this derived class is also added to the DataForm in the View Code behind.
parentcollection.CommandProvider.DataForm = LookupListFormCtrl;
At the End in the MyCommandProvider class a new Item is created and added to the Collection. ( this i see in the Debug Mode) and also the Current Item
is set to the new empty created Item.
Until here it looks fine but the Form doesn´t show me the "empty" Record i created , I checked also if the Current Item ( = SelectedUiDataItem )
is this newly created ones and it is. And also all the Can* Methods returning true.
First i thought there is somewhere a bug on my side but know i am not sure because
i changed AutoGenerateFields="True" and in this moment the Form show all the columns i expected.
In behind the same methods are called and new Item to collection is created.
In the derived Class of DataFormCommandProvider i called additionaly the .AddNew() before i created and added a new Item but anyhow it´s has no effect.
I think i have overseen some parameter to the xaml or forgot to set something so i hope on any hint from yours.
Thanks br Thomas Cinatl
Hello, I have been using Telerik in a WPF desktop application. We have a control that displays a large amount of data points (ranging from around a thousand points to over a million points), and a custom selector that lets you designate a section of the data to zoom in on.
We want to replace the custom selector we are currently using with the selector from the TimeBar control. We use points instead of dates, but I got around the issue by representing each point as a 'day'. The problem is, when I add a large amount of data to the RadLinearSparkline (26,000 points of random numbers), the selector control becomes sluggish, for example the resize selector has a 3-4 second delay if I move one of the bounds.
So I technically have 3 questions:
Does the TimeBar support large amounts of data?
Is there a way to change the range data from date-times to doubles/ints (or another control with the same selector)?
Is there a way I can just use the selector without the time bar itself?
Here is the relevant code in my example project
----------------------------------------------------------------------------------------------------------------------------------------------------------
Random r = new Random();
List<int> LinearData = new List<int>();
for (DateTime currentDate = DateTime.Today; currentDate < DateTime.Today.AddDays(1000000);
currentDate = currentDate.AddDays(1))
{
LinearData.Add(r.Next(0, 100000));
}
this.DataContext = LinearData;
-----------------------------------------------------------------------------------------------------------------------------------------------------------
<telerik:RadTimeBar PeriodStart="1-Jan-0001 12:00:00 AM" PeriodEnd="31-Dec-2740 11:59:59 PM"
VisiblePeriodStart="11-Nov-2010 12:00:00 AM" VisiblePeriodEnd="14-March-2011 11:59:59 PM"
SelectionStart="1-Jan-2011 12:00:00 AM" SelectionEnd="28-Feb-2011 11:59:59 PM">
<telerik:RadTimeBar.Intervals>
</telerik:RadTimeBar.Intervals>
<telerik:RadLinearSparkline ItemsSource="{Binding}"/>
</telerik:RadTimeBar>
If you need any additional information about the project, let me know