I have a RadTimeBar with only one interval type defined - weeks....
If I run this sample, and double click on a particular week I get an exception. The exception goes away if I add the <telerik:MonthInterval /> to the intervals collection. (In my scenario, unfortunately, that's not what I need).
A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.DataVisualization
<
telerik:RadTimeBar
PeriodStart
=
"2000-01-01"
PeriodEnd
=
"2000-03-03"
>
<
telerik:RadTimeBar.Intervals
>
<
telerik:WeekInterval
/>
</
telerik:RadTimeBar.Intervals
>
</
telerik:RadTimeBar
>
If I run this sample, and double click on a particular week I get an exception. The exception goes away if I add the <telerik:MonthInterval /> to the intervals collection. (In my scenario, unfortunately, that's not what I need).
A first chance exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.DataVisualization