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

2 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 20 Dec 2011 Link to this post

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

    Posted 21 Dec 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top