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

RadTimeLine ToolTip crash when Out Of Browser

2 Answers 50 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Jean Ressouche
Top achievements
Rank 1
Jean Ressouche asked on 02 Apr 2013, 06:15 PM
Hello,i face an important issue with RadTimeLine if i try to set an item ToolTip (ToolTipTemplate) when the app is used OOB.
    
Can be reproduced easely:

<UserControl
    x:Class="SilverlightApplication1.MainPage"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400">
 
    <Grid>
 
        <telerik:RadTimeline x:Name="TimeLine"
                  PeriodStart="03/28/2013 00:00:00" PeriodEnd="04/07/2013 00:00:00"
                  StartPath="DateField" DurationPath="DurationField">
             
            <telerik:RadTimeline.ToolTipTemplate>
                <DataTemplate>
                    <TextBlock Text="Test ToolTip"/>
                </DataTemplate>
            </telerik:RadTimeline.ToolTipTemplate>
 
            <telerik:RadTimeline.Intervals>
                <telerik:DayInterval />
            </telerik:RadTimeline.Intervals>
 
        </telerik:RadTimeline>
 
    </Grid>
</UserControl>

using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
 
namespace SilverlightApplication1
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();
            Loaded += MainPageLoaded;
        }
 
        void MainPageLoaded(object sender, RoutedEventArgs e)
        {
            var lst = new List<ExampleItem>();
 
            lst.Add(new ExampleItem() {
                DateField = new DateTime(2013, 04, 02),
                Durationfield = new DateTime(2013, 04, 03)
            });
 
            lst.Add(new ExampleItem() {
                DateField = new DateTime(2013, 04, 03),
                Durationfield = new DateTime(2013, 04, 04)
            });
 
            TimeLine.ItemsSource = lst;
        }
    }
 
    public class ExampleItem
    {
        public DateTime DateField { get; set; }
        public DateTime Durationfield { get; set; }
    }
}

The exact same code is working like a charm In Browser.

Tested with the latest demo version (q1 2013).

Any workaround / fix ?

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvetie
Telerik team
answered on 05 Apr 2013, 03:23 PM
Hi Jean Ressouche,

We are aware of the problem and we have already fixed it - I tested your code with the latest version Q1 2013 SP1 (release earlier this week) and indeed the tooltip showed as expected. Please test your application with Q1 2013 SP1 and let me know in case you still have problems with the tooltip support of RadTimeline.

Greetings,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Jean Ressouche
Top achievements
Rank 1
answered on 05 Apr 2013, 05:20 PM
Thanks !!
I will test asap.
Tags
TimeLine
Asked by
Jean Ressouche
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Jean Ressouche
Top achievements
Rank 1
Share this question
or