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

Problem with multiple RadScheduler & Timeline view

1 Answer 106 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
BENOIT CHEVALIER
Top achievements
Rank 1
BENOIT CHEVALIER asked on 08 Jun 2012, 01:25 PM
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,

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 12 Jun 2012, 10:54 AM
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 >>
Tags
Scheduler and Reminder
Asked by
BENOIT CHEVALIER
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or