This is a migrated thread and some comments may be shown as answers.

RadTimeline groupnames not showing

1 Answer 30 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Erik Andreas
Top achievements
Rank 1
Erik Andreas asked on 14 Oct 2014, 12:42 PM
Hello,

How can I get groupnames to show in my RadTimeline? I set the radtimeline itemssource (list of Tags) and the other properties in the codebehind . As shown in the attached image, the resulting timeline do not show the groupnames like in your example at http://www.telerik.com/help/silverlight/radtimeline-features-grouping.html. What telerik magic am I missing?

Regards,

Erik

my xaml:

        <telerik:RadTimeline BorderThickness="0" telerik:StyleManager.Theme="Windows8"
                                                 x:Name="timeline"   
                                                 StartPath="Date" 
                                                 HorizontalAlignment="Stretch" 
                                                 VerticalAlignment="Stretch"
                                                 Margin="5"
                                                 GroupPath="GroupName"
                                                 GroupExpandMode="None" 
                                                  >
code:

list = all my items with all properties set with non-null values.

                        timeline.ItemsSource = list.OrderBy(x=>x.GroupName);
                        timeline.PeriodStart = list().first.Date.AddHours(-1);
                        timeline.PeriodEnd = list().last.Date.AddHours(1);

                        timeline.VisiblePeriodStart = list.first().Date.AddHours(-1);
                        timeline.VisiblePeriodEnd = list.last().Date.AddHours(1);

Itemssource class:

    public class Tag
    {
        public Tag() { }

        public string Name { get; set; }
        public SolidColorBrush Color { get; set; }
        public string Description { get; set; }
        public string Solution { get; set; }
        public DateTime Date { get; set; }
        public String GroupName { get; set; }
    }


1 Answer, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 15 Oct 2014, 12:38 PM
Hello Erik,

I tried to follow your code and made a sample project (you can find it attached). On my side it works as expected, but I might be missing some important part of your implementation (some custom style for instance). You can take a look at the project and try to modify it in order to reproduce the issue. Then you can write us back with more information and code, so that we can investigate further why the group names are not displayed.

Thank you for your cooperation.

Regards,
Milena
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TimeLine
Asked by
Erik Andreas
Top achievements
Rank 1
Answers by
Milena
Telerik team
Share this question
or