How to avoid overlap appointment

8 posts, 1 answers
  1. Mace
    Mace avatar
    4 posts
    Member since:
    Apr 2012

    Posted 13 Apr 2012 Link to this post

    Hello,

    I want to avoid the overlap appointment for manage availability resources.
    Is there a way to do that or i need to use custom  apointment/ availability ?

    Gat

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 18 Apr 2012 Link to this post

    Hello Gat,

    We've just uploaded a code library where the needed approach is demonstrated. You can check it at the following link:
    http://www.telerik.com/community/code-library/wpf/scheduleview/how-to-avoid-overlapping-appointments.aspx

    Regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Mace
    Mace avatar
    4 posts
    Member since:
    Apr 2012

    Posted 23 Apr 2012 Link to this post

    Thanks for your responds. That is perfect for me but it is possible to do the same thing when you create the appointment by the edit appointment dialog?
  5. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 23 Apr 2012 Link to this post

    Hi,

    You should use RadScheduleView events to check for overlapping appointments when creating/editing appointments. I've attached the modified code.

    Kind regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Gaetan
    Gaetan avatar
    4 posts
    Member since:
    Oct 2012

    Posted 23 Apr 2012 Link to this post

    Thanks a lot, it's exactly that i looking for !
  7. Roy
    Roy avatar
    2 posts
    Member since:
    Nov 2015

    Posted 22 Nov 2015 in reply to Yana Link to this post

    Hello Yana,

    the example that you provided, doesn't work correctly for me. When you adding appointments  and then editing in popup Window, you can still add 2 appointments in 1 cell. I'm using UI for WPF 2015 Q3. Any help would be great.

  8. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 24 Nov 2015 Link to this post

    Hi,

    Hi,
    I modified the code to use AppointmentSaving event when appointment is edited instead AppointmentEdited.
    Please find the modified files attached and let us know whether this helps.

    Regards,
    Rosi
    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
  9. Roy
    Roy avatar
    2 posts
    Member since:
    Nov 2015

    Posted 24 Nov 2015 in reply to Rosi Link to this post

    Thank you, working like a charm.

    Have a nice day!

Back to Top
UI for WPF is Visual Studio 2017 Ready