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

Scheduler Timeline View

1 Answer 86 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Chris Holmes
Top achievements
Rank 1
Chris Holmes asked on 12 Aug 2011, 07:33 PM
Is there a way I can set the start time and end time (working hours)  of a day in timeline view? 
Assuming the timescale is Days?

SchedulerTimelineView v = productionScheduler.GetTimelineView();
v.StartDate = DateTime.Today.AddDays(-6)
v.ShowTimescale(Timescales.Days);
??v.DayStartTime??
??v.DayEndTime??


Thanks in advance,

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 16 Aug 2011, 03:03 PM
Hello Chris,

Thank you for writing.

Since your timescale is Days, all appointments will always take the whole space for the day, and limiting the working hours is not possible. The only thing that you can do (if it works for you) is to edit the Edit Appointment dialog and set ranges of the Start time and End time hour pickers. However, this approach will only handle the appointments added by the dialog and those added by using inline editor will be all day appointments.

I hope that you find this information useful.
 
All the best,
Stefan
the Telerik team

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

Tags
Scheduler and Reminder
Asked by
Chris Holmes
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or