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

BUG - Error on double click if next interval is not defined...

1 Answer 31 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 20 Dec 2011, 08:41 PM
I have a RadTimeBar with only one interval type defined - weeks....
<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

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 21 Dec 2011, 01:03 PM
Hi Rob,
We are aware of this problem and we have already fixed it. The fix is part of the service pack that we released this week. Please download Q3 2011 SP1 and test your code with it - you should not longer get this exception.

All the best,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TimeBar
Asked by
Rob
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or