Hi, i'm trying to make application similar to ms.visio. I'm using RadDocking and make two RadPaneGroup in leftside and rightside. the leftside is for the list of drag&drop elements like shape,image or anything. the rightside is for the layout and i can save the layout.
the leftside is like an icon with text and when we drag it, it will show the original image/shape.
what is the best way to do that? is using RadDocking good enough? any specific controls or feature that can be used?
Thanks,
Mirza
Hi,
why can't i use RadDiagramToolbox? RadDiagram is fine, but everytime i use RadDiagramToolbox, there is an error message 'System.Windows.Media.Animation.DoubleAnimation' animation object cannot be used to animate property 'RenderTransform' because it is of incompatible type 'System.Windows.Media.Transform'.
i'm using VS2010 and free trial Telerik
Regards,
Mirza

Hi,
I want to generate TreeListView Columns dynamically and populate them with data.
Regards
I am using the Visual Studio 2013 Dark Theme (using Implicit styles) and for the most part everything looks great out of the box. One issue that I have run across is that the Context Menu that shows up for a TextBox (Cut, Copy, Paste) is not themed at all. Additionally, using the RadRibbonWindow, when clicking on the Icon, the Context Menu that shows up (Restore, Move, Size, Minimize, Maximize, Close) is not themed at all. I have to think that I am missing a setting somewhere for these to be themed but I cannot find it anywhere.
Can you help me out?
Jon
Hi,
When the value in a cell containing a formula gets updated the text alignment is incorrect. See cell D2 in attachment after I put a 1 in cell B2. There is plenty of room for the value to be displayed correctly. The formula in D2 is =B2*C2.
I have tested this on the Telerik demos and can get the same thing to happen on there so it has nothing to do with my code.
This makes this control very unusable and I have customers complaining about this.
Thanks
Anthony

Hello everyone,
We created a Custom Control which has a GridView as a part of it. We use the AutoGeneratingColumns functionality and the DisplayAttribute to define the header text. That works perfect. We want to set the Columns to a fixed width, and it would be great to do this with an Attribute or some sort of other way.
Does anyone have a suggestion? We don't want to change the fact that the columns are auto generated.
Thanks for any help...

I need to add values to the dropdown list of Duration so that they are 10 seconds, 20 seconds, 45 seconds, etc. So I am able to add them okay to the list:
var durationPicker = sender as DurationPicker;
durationPicker.Items.Add("5 seconds");
durationPicker.Items.Add("10 seconds");
durationPicker.Items.Add("0.5 minutes");
durationPicker.Items.Add("2 minutes");
durationPicker.Items.Add("7 minutes");
However, picking any seconds doesn't update the End Time like if I picked 2 minutes. It seems to ignore anything that is seconds. Could you show me how to make seconds increments work on the Duration so it effects the End Date? We often schedule items every 60 seconds. Or 30.
Hi Telerik:
I believe I have found a bug relating to how the RadRibbonTab handles things when its ItemsSource is set.
Please see the attached demo app.
Am I doing something wrong? If so, please advise.
<Window xmlns:local="clr-namespace:WpfApplication5" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="WpfApplication5.MainWindow" mc:Ignorable="d" Title="MainWindow" Height="659" Width="1131.575"> <Grid> <ListBox x:Name="List1" HorizontalAlignment="Left" Width="483" Height="73" VerticalAlignment="Top" Margin="30,77,0,0"/> <ListBox x:Name="List2" Margin="30,223,0,0" HorizontalAlignment="Left" Width="483" Height="84" VerticalAlignment="Top"/> <Button x:Name="btnBindList1" Content="Bind List 1" HorizontalAlignment="Left" Margin="513,77,0,0" VerticalAlignment="Top" Width="102" Click="btnBindList1_Click"/> <Button x:Name="btnBindList2" Content="Bind List 2" HorizontalAlignment="Left" Margin="518,223,0,0" VerticalAlignment="Top" Width="102" Click="btnBindList2_Click"/> <Label x:Name="label" Content="First - Click "Bind List 1". The items will bind. This is what I expect to happen." HorizontalAlignment="Left" Margin="30,43,0,0" VerticalAlignment="Top"/> <telerik:RadRibbonView x:Name="radRibbonView" VerticalAlignment="Top" Margin="30,385,108,0"> <telerik:RadRibbonTab Header="RibbonTab" x:Name="radRibbonTab"/> </telerik:RadRibbonView> <Button x:Name="btnBindRibbon" Content="Bind Ribbon to New Tab" HorizontalAlignment="Left" Margin="518,360,0,0" VerticalAlignment="Top" Width="158" Click="btnBindRibbon_Click"/> <Button x:Name="btnBindRibbon_Copy" Content="Bind Ribbon Again" HorizontalAlignment="Left" Margin="518,571,0,0" VerticalAlignment="Top" Width="193" Click="btnBindRibbon_Click"/> <Label x:Name="label_Copy" Content="Second - Click "Bind List 2". The list is bound and visual items jump to List2. This is what I expect to happen." HorizontalAlignment="Left" Margin="30,192,0,0" VerticalAlignment="Top"/> <Label x:Name="label_Copy1" Content="Third - Click "Bind Ribbon to New Tab". The list is bound and visual items jump into the ribbon. This is also what I expect to happen." HorizontalAlignment="Left" Margin="30,321,0,0" VerticalAlignment="Top" Width="799" Height="27"/> <Label x:Name="label_Copy2" Content="Last - Click "Bind Ribbon Again" (it calls the same code as above). When I do this, I get an error. I expect items to jump like they did the first time." HorizontalAlignment="Left" Margin="30,537,0,0" VerticalAlignment="Top" Width="799" Height="27"/> </Grid></Window>
using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;namespace WpfApplication5 { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { System.Collections.ObjectModel.ObservableCollection<object> items; public MainWindow() { InitializeComponent(); items = new System.Collections.ObjectModel.ObservableCollection<object> { "a", "b", "c" }; items.Add(new Button() { Content = "Test Button" }); items.Add(new TextBox() { Text = "Test Textbox!" }); } private void Button_Click_1(object sender, RoutedEventArgs e) { Button button = sender as Button; string clickedString = button.DataContext as string; items.Remove(clickedString); } private void btnBindList1_Click(object sender, RoutedEventArgs e) { e.Handled = true; List1.ItemsSource = items; } private void btnBindList2_Click(object sender, RoutedEventArgs e) { e.Handled = true; List2.ItemsSource = items; } private void btnBindRibbon_Click(object sender, RoutedEventArgs e) { e.Handled = true; var Tab = new Telerik.Windows.Controls.RadRibbonTab() { Header = "New Tab" }; radRibbonView.Items.Add(Tab); radRibbonView.SelectedItem = Tab; Tab.ItemsSource = items; } }}Hi,
I am trying integrating a rad PDFViewer which show a pdf generated in a Stream to print it, at first, i would like to show the pdf document with a scalefactor of 0.5 and give the user the possibility to increase or decrease the zoom. In way to perform that, i added a RadSlider and bound the scalefactor of the pdf viewer with the value of the rad slider like show the code below (The problem i encounter is that the scalefactor is initially set to 1, however the pdf viewer width allow to show the 0.5 scale value) :
<telerik:RadPdfViewer x:Name="pdfViewer" Grid.Row="1" Width="450" DocumentSource="{Binding Document, Mode=TwoWay}" ScaleFactor="{Binding ElementName=ZoomSlider, Path=Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ScaleMode="FitToWidth" ScrollViewer.VerticalScrollBarVisibility="Auto" />Then the code of the RadSlider:
<telerik:RadSlider x:Name="ZoomSlider" Grid.Column="0" Width="300" HorizontalAlignment="Center" HandlesVisibility="Visible" Maximum="1.5" Value="0.5" Minimum="0" TickFrequency="0.25" TickPlacement="TopLeft"> <telerik:RadSlider.TickTemplate> <DataTemplate> <Grid> <TextBlock Text="{Binding}" /> </Grid> </DataTemplate> </telerik:RadSlider.TickTemplate></telerik:RadSlider>