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

Search for next available time slots

1 Answer 65 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 31 Jul 2015, 05:43 AM

Dear support,

Can the ScheduleView search for the next available time slots for a new appointment? 

If not, could you suggest the best approach to implement this feature?  How do I test if the time period is available taking into the existing appointments, special slots (non-working hours, public holidays, etc) and the recurrence of appointment and special slots?

Thanks

 

 

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 04 Aug 2015, 07:59 AM
Hi John,

RadScheduleView doesn't provide such a built in functionally - you would need to manually implement it on application level. You can use the static AppointmentExtensions.GetOccurences() method that gives all the appointments (including the recurring ones) for a give date range. As for the Special Slots you would need to add logic checking them as well.

Hope this helps.

Regards,
Kalin
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
ScheduleView
Asked by
John
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or