Last Updated: 28 Sep 2021 15:04 by ADMIN
Release LIB 2021.3.1004 (4 Oct 2021)
Martin Ivanov
Created on: 02 Dec 2015 12:56
Category: TimeLine
Type: Bug Report
Timeline: Application hangs when the control is zoomed-in to a very deep level and then zoomed-out in a scenario with a big period range
The control's performance is low and in most cases the application hangs when you try to reset the control's zoom to its initial state. This happens in a scenario with big period range (for example 2 years) and when a MinuteInterval is defined. When you zoom-in to a level where the minutes are displayed and then you try to zoom out with the scrollbar (or if you change manually the VisiblePeriod to match the PeriodStart and PeriodEnd), the application hangs.

Remove the MinuteInterval from the Intervals collection just before changing the VisiblePeriod and then add it again in the collection. 

private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
    var interval = _timeline.Intervals.FirstOrDefault(i => i is Telerik.Windows.Controls.TimeBar.MinuteInterval);
    if (interval != null)
    _timeline.VisiblePeriod = new SelectionRange<DateTime>(_timeline.PeriodStart, _timeline.PeriodEnd);
    if (interval != null)
1 comment
Posted on: 17 Jun 2016 14:44
When is this going to be fixed as it is causing all sorts of issues when zoomed into minuteinterval?