Search for next available time slots

2 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    Aug 2009

    Posted 31 Jul 2015 Link to this post

    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?




  2. Kalin
    Kalin avatar
    1284 posts

    Posted 04 Aug 2015 Link to this post

    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.

    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
Back to Top