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

disable timeslots as per requirement.

3 Answers 52 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
hardik
Top achievements
Rank 1
hardik asked on 08 Mar 2011, 09:23 AM
hi support.

I have go through the scheudlerView demo and I have satisfied with my most of requirements.

One requirement which I not get anywhere in demo.In scheduler now you shows the resources differently.There timeslots also different.So i can access the resource details individually.

My requirement is one resource is not availabel for 12 pm to 2 pm so those slots of that particular resource should be disable.And another resource is not available for 3 pm to 6pm so these slots for this resource should be disable.

Is this possible by setting some property? Actually i can do this by logic that go through all timeslots and whenever find not available time of resource than make that particular timesolt disable.but it will affect the performance when i have multiple resources at that time i have to go through loop which really slow down the application.

If i have some function or event in which I can pass resourceID,and its start and end time of availability than from all slots its automatically disable those times,One important thing for the availability time is time may be multiple that is 12 pm to 2 pm than 6 pm to 8 pm means from whole day person is available for these 2 times only.

If these functionality support in scheduler view than its very good for us.This is the main requirement for our application.

thanks
Hardik Pancholi

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 08 Mar 2011, 09:46 AM
Hi Hardik,

This feature will be available in our Q1 2011 release which will be available for download by the end of the month.

We added IsReadOnly property of the Slot class. By using this property you can specify which slots from SpecialSlotsSource collection (by setting their Resources and/or Start and End properties) to be disabled

An example will be uploaded online when Q1 2011 release goes official.

Regards,,
Rosi
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
hardik
Top achievements
Rank 1
answered on 08 Mar 2011, 09:56 AM
Thanks rosi for early reply.

As i had mention in my post if resource is available for 1 pm to 2 pm and after that 4 to 5 pm than only these two hours are shown enable for whole day and all other slots are disable ...

Am I right?

And the same thing for date can be possible?

Like resource is available for 1 pm to 2 pm for 1st march to 5th march.So it can bet set from any property?
0
Rosi
Telerik team
answered on 08 Mar 2011, 10:16 AM
Hi Hardik,

Yes, the described scenario will be possible in our upcoming Q1 2011 release.

Greetings,
Rosi
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
ScheduleView
Asked by
hardik
Top achievements
Rank 1
Answers by
Rosi
Telerik team
hardik
Top achievements
Rank 1
Share this question
or