Hello,
i have a problem with the WPF RadTimeLine-Control from Q1 2015. If
<UserControl x:Class="......Workflow.WorkflowTimeLine" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"> <Grid> <telerik:RadTimeline VerticalAlignment="Stretch" HorizontalAlignment="Stretch" PeriodStart="{Binding StartDate, Mode=TwoWay}" PeriodEnd="{Binding EndDate, Mode=TwoWay}" StartPath="Date" DurationPath="Duration" ToolTipPath="Annotation" SelectionMode="Single" ScrollMode="None" GroupExpandMode="None" GroupPath="WorkflowName" ItemsSource="{Binding Data}"> <telerik:RadTimeline.Intervals> <telerik:MonthInterval /> <telerik:WeekInterval /> <telerik:DayInterval /> <telerik:HourInterval /> <telerik:MinuteInterval /> </telerik:RadTimeline.Intervals> </telerik:RadTimeline> </Grid></UserControl>The problem appears after updating to the newest assemblies. The error message is: XamlParseException. TargetType 'RadSlider' does not match the type of elements 'TimelineScrollBar'.
I have no idea what's wrong with our code.

Hi,
I select an item in codebehind, but I want to get item in ViewPort. I try to scroll diagram according to item position. It does not work. I just want user to see item, which I select in code, in screen . How can I do that?
Thanks in advance.
Mahmut.
RadSpreadsheet radSpreadSheet = new RadSpreadsheet();radSpreadSheet.Workbook = myWorkbook;radSpreadSheet.ActiveSheet = myWorkbook.Worksheets[0];PrintWhatSettings printWhatSettings = new PrintWhatSettings(ExportWhat.ActiveSheet, false);radSpreadSheet.Print(printWhatSettings);
verson: 2014.3.1021.40
xaml:
<telerik:RadPropertyGrid x:Name="grdTestProperty" Item="{Binding TestProperty, Mode=OneWay}" SearchBoxVisibility="Collapsed" SearchInNestedProperties="False" FieldIndicatorVisibility="Visible" AutoGeneratePropertyDefinitions="True" NestedPropertiesVisibility="Visible" LabelColumnWidth="110" RenderMode="Flat" AutoGeneratingPropertyDefinition="grdTestProperty_AutoGeneratingPropertyDefinition" />
Code Behind:
private void grdTestProperty_AutoGeneratingPropertyDefinition(object sender, Telerik.Windows.Controls.Data.PropertyGrid.AutoGeneratingPropertyDefinitionEventArgs e) { // Encounter this warning when set IsExpanded = true: e.PropertyDefinition.IsExpanded = true; }
Nested Property:
[DataMember()][Browsable(true)][Display(Order = 5, GroupName = "PropGroup_Electrical", Name = "PropName_ElecItem", Description = "PropDesc_ElecItem", ResourceType = typeof(UIStringTable))]public ElectricalTestItem ElecItem{ get { return m_ElecItem; } private set { m_ElecItem = value; NotifyOfPropertyChange(() => ElecItem); }}
Warning:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='Telerik.Windows.Controls.RadPropertyGrid', AncestorLevel='1''. BindingExpression:Path=FieldIndicatorVisibility; DataItem=null; target element is 'Grid' (Name='FieldIndicator'); target property is 'Visibility' (type 'Visibility')Hallo,
is there some easy way to add click event or double click event on group of shapes?
thank you
best regards
Jakub
Hi!
I Have a GridView loaded with 2000 records, grouped by one column and paginated using the RadDataPager.
To make the grouping and pagination work, i needed to use a PagingBeforeGroupingQueryableCollectionView. With a standard Collection the paging was not working correctly as it counts the groups per page and not total items per page:
public class PagingBeforeGroupingQueryableCollectionView : QueryableCollectionView{ public PagingBeforeGroupingQueryableCollectionView(IEnumerable source) : base(source) { } protected override IQueryable CreateView() { if (this.TotalItemCount == 0) { return this.ApplySelectDescriptors(this.QueryableSourceCollection); } else { var queryable = this.QueryableSourceCollection; queryable = queryable.Where(this.FilterDescriptors); queryable = this.Sort(queryable); queryable = this.ApplySelectDescriptors(queryable); queryable = queryable.Page(this.PageIndex, this.PageSize); queryable = queryable.GroupBy(this.GroupDescriptors); return queryable; } } protected override int GetPagingDeterminativeItemCount() { return this.QueryableSourceCollection.Where(this.FilterDescriptors).Count(); }}Now, i need to add Hierarchical data, so i defined a ChildTableDefinitions. In the DataLoading event of GridView it detects correctly the parentrows and allows me to define the columns for the child gridview, even in the row loaded event i can check what rows have childs to show the expandable buttons on them. All this works pretty well but when i expand one row with childs, the child gridview is showed without data. If i remove the grouping column and the child data is in the same page as the parent row, i can see the child rows. If the child rows are in another page, i can't see them. If i remove both grouping and paging, all works perfectly, showing the child data for every parent row. But as soon as i group the data again, even without pagination, the child gridview don't show any data.
Is there a way we can have Grouping, paging and child data working in the same GridView, independently of the page of the data?
Kind regards,
Hi,
I'm trying to fit a TreeView into a Combobox. There are already many threads which all refer to this blog post:
http://blogs.telerik.com/xamlteam/posts/10-05-12/treeview-in-combobox-with-radcontrols-for-silverlight-or-wpf-final-take.aspx
Unfortunately, the example is not working (anymore?) in WPF.
There seems to be a problem with the converter. In Silverlight, everything works fine, in WPF however, the converter is called, even when you open the DropDown (which does not happen in Silverlight). In this converter call, the "return false" condition is triggered and so the popup never opens.
Can you provide a new sample on how to fit a TreeView into a ComboBox (or DropDownButton)?
Best regards
The docs for some rad controls have a nice page listing the default shortcut keys supported by a given control. For instance, the RadRichTextBox control has this page:
http://docs.telerik.com/devtools/wpf/controls/radrichtextbox/features-keyboard-support.html
However, I can't seem to find a similar page for RadGridView. So, two questions:
Thanks.​