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

Limiting task duration to business hours

1 Answer 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 04 Feb 2011, 02:22 AM
In my RadSchedular I have set the following parameters.

DayView-WorkDayStartTime="08:00:00"
DayView-DayEndTime="18:00:00"      
WorkDayStartTime="08:30:00"
WorkDayEndTime="17:00:00"


As a test I created a task that started at 16:30 on one day, and finish at 9:00am the next day.

With Workday start and end times of 17:00 and  8:30am this is a one hour task.

However, by clicking the 24 hour view, the RadScheduler displays this task as running from 16.30 on the first day, till midnight that night, and on the next day starting at midnight and finishing at 9am.

Wrong.

How can I tell the RadScheduler to only display tasks in business hours. With this in mind, what is the point of the WorkDay[Start:End]Time parameters?

 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Feb 2011, 10:38 AM
Hello Brad,

You can test the effect of these properties in the Customization demo.

Setting WorkDayStartTime and WorkDayEndTime just causes RadScheduler to apply the rsNonWorkHour class to days that do not fall in the specified range.

RadScheduler does not support appointments that skip certain hours. If you need such events, you should create two or more appointments.


All the best,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
General Discussions
Asked by
Brad
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or