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

Multiple resources with different available hour

5 Answers 87 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Adam Cole
Top achievements
Rank 1
Adam Cole asked on 18 Mar 2010, 09:38 PM
Hi,
  I like your example at http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourceavailability/defaultcs.aspx for resource availability.  I have few questions.

  1.  I know we can set DayStartTime and DayEndTime for a day on the calendar, but can i set multiple DayStartTime and DayEndTime on the same day?  For example, on Monday, I work from 8:00 AM to 11:30 AM and from 1:00 PM to 5:00 PM.

  2.  If I use my employee as resource, can different employee has different DayStartTime and DayEndTime?  For example, John works from 10:00 AM to 12:30 PM and 1:00 PM to 5:00 PM on Friday, but Mary only works from 8:00 AM to 12:00 PM on Friday (something similar to the attached image file).  I just want ONE scheduler on my page and use employee as resource.

Thanks.

5 Answers, 1 is accepted

Sort by
0
Adam Cole
Top achievements
Rank 1
answered on 19 Mar 2010, 03:54 PM
Does anyone know if it is possible?
0
Adam Cole
Top achievements
Rank 1
answered on 22 Mar 2010, 12:41 AM
Anyone?
0
Adam Cole
Top achievements
Rank 1
answered on 22 Mar 2010, 12:42 AM
Anyone?
0
Peter
Telerik team
answered on 22 Mar 2010, 04:23 PM
Hello Adam,

1. You can use the approach from this kb article to achieve your goal:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/setting-special-days-or-time-slots-in-radscheduler.aspx

2. You can extend the above kb article and make an additional check for the resource if your RadScheduler is grouped by a resource type:

protected void RadScheduler1_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
   {
       //e.TimeSlot.Resource.Key
   }


Cheers,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Adam Cole
Top achievements
Rank 1
answered on 23 Mar 2010, 08:38 PM
Perfect.  i will give it a try.

thanks.
Tags
Scheduler
Asked by
Adam Cole
Top achievements
Rank 1
Answers by
Adam Cole
Top achievements
Rank 1
Peter
Telerik team
Share this question
or