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.
Thanks for the Reply Brian. I am trying to make this check everytime the user resizes the Appointment. But unlike the Drag operation which fires the AppointmentDragComplete event after the operation is done, I am not able to find a event which gets fired after the Appointment has been resized. While the user is resizing, the AfterAppointmentResized event seems to get fired for every time interval but that does not help me find out if the operation has been completed or not.
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.