Problem with multiple RadScheduler & Timeline view

2 posts, 0 answers
  1. BENOIT CHEVALIER
    BENOIT CHEVALIER avatar
    22 posts
    Member since:
    Nov 2009

    Posted 08 Jun 2012 Link to this post

    Hello,

    I want to use RadScheduler to build a master/detail form as timeline views:
    => on top, a radscheduler component displaying a global timelineview of summarized tasks, with timescales as months, 12 months displayed.
    => on bottom, another radscheduler displaying a more detailed timeline view, with timescales as days, 30 days displayed.

    It seems that any change in one component affects the other one.

                    radScheduler1.GetTimelineView().ShowTimescale(Telerik.WinControls.UI.Timescales.Weeks);
                    radScheduler1.GetTimelineView().GetScaling().DisplayedCellsCount = 12;

                    radScheduler2.GetTimelineView().ShowTimescale(Telerik.WinControls.UI.Timescales.Days);
                    radScheduler2.GetTimelineView().GetScaling().DisplayedCellsCount = 30;    

    This piece of code results in having both controls displaying 30 days (Moreover with display glitches on the first one).
    What am I doing wrong?
    (I'm using 2012.1.12.215)

    Regards,
  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 12 Jun 2012 Link to this post

    Hi Benoit,

    Thank you for contacting us.

    This appears to be an issue in RadScheduler. I have logged it in our Public Issue Tracking System and we will do our best to address it in the next service pack. Here is the link to the PITS item. For the time being, I cannot provide you with a suitable workaround due to the internal implementation of RadScheduler.

    The same issue causes the layout glitch. However, this could be workarounded by forcing the scheduler to refresh:
    this.radScheduler1.GetTimelineView().ShowTimescale(Telerik.WinControls.UI.Timescales.Weeks);
    this.radScheduler2.GetTimelineView().ShowTimescale(Telerik.WinControls.UI.Timescales.Days);
    this.radScheduler1.ActiveView = this.radScheduler1.ActiveView.OffsetView(0);

    Your Telerik points have been updated for bringing this issue to our attention. Do not hesitate to write back if you have any additional questions.

    All the best,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top