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:
The exact same code is working like a charm In Browser.
Tested with the latest demo version (q1 2013).
Any workaround / fix ?
Can be reproduced easely:
<
UserControl
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
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 ?