Not allow overlaps in Appointments

4 posts, 0 answers
  1. Nick Wood
    Nick Wood avatar
    126 posts
    Member since:
    Feb 2010

    Posted 23 Apr 2011 Link to this post

    Is there any way to prevent overlaps in the appointment so that when a neighbouring appointment is hit it either pushes the neighbouring appointment or stops?

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 27 Apr 2011 Link to this post

    Hi Nick,

    In ScheduleView the rendering of the appointments is exact, so they are displayed as big as their duration is. What do you mean by neighboring appointments? Appointment that are in the same TimeSlot? Could you please give us some more details what exactly you are trying to achieve, in that way we will be able to provide you with the best solution for your case.

    Kind regards,
    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
  3. Grant
    Grant avatar
    13 posts
    Member since:
    Oct 2011

    Posted 30 Nov 2011 Link to this post

    I am wondering the same thing. I would like to allow only a single appointment to be set in a given timeslot. If a user starts to drag an appointment where it would overlap with an existing appointment i would like it not to overlap with the previous appointment.

    Is this possible to do?
  4. Konstantina
    Konstantina avatar
    2332 posts

    Posted 02 Dec 2011 Link to this post

    Hello Grant,

    You can implement a custom drag drop behaviour for the ScheduleView. Please find attached a sample project in which this is illustrated. Please pay attention to ConflictCheckingDragDropBehavior class. The functionality for creating custom ViewDefinition and filtering of appointments are also illustrated in this project, so just ignore them.

    Hope this helps.

    All the best,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top