RadTimeLine ToolTip crash when Out Of Browser

3 posts, 1 answers
  1. Jean Ressouche
    Jean Ressouche avatar
    81 posts
    Member since:
    Aug 2012

    Posted 02 Apr 2013 Link to this post

    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. Answer
    Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 05 Apr 2013 Link to this post

    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.

  3. DevCraft banner
  4. Jean Ressouche
    Jean Ressouche avatar
    81 posts
    Member since:
    Aug 2012

    Posted 05 Apr 2013 Link to this post

    Thanks !!
    I will test asap.
Back to Top