Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
380
How to detect if Appointments are overlapping?
posted

Hello,

          In my application I want to restrict the user from resizing or dragging an Appointment in the Win DayView to another Appointment. If there is a overlap then I am planning to give the user to have just one of those two appointments in that time interval and remove the other one. However resizing or dragging into an empty timeslot should be possible. How can I detect this overlap?. Any hints appreciated.

Parents
  • 69832
    Offline posted

    UltraCalendarInfo exposes a method, GetAppointmentsInRange, which returns a subset of the Appointments that intersect with a given date range. If you call this method and it returns one or more Appointments, that would imply that the specified date range has some activity.

Reply Children
No Data