Hi all!
I'm using the control ultratimelineview and i'm struggling with the appointmens drag.
How can I get the event of the end of the appointmens drag? I don't wan't any kind of overlapping, so I need to verify at the end of the drag (not in the dragging) if the appointment is overlaping another. I'm using this control to show production orders in the respectif production lines, so it's not possible to produce more than one production order at the same time in the same line.
Thanks
Hugo
HI Mike,
Thanks for the reply. I tried to use the DragDrop event, but the event doesn't have the possibility to cancel the drag and drop in case of overlapping.
Hi Hugo,
Thank you for sharing your solution. I would also like to add an alternate approach that you might have taken instead: UltraTimelineView has an AppointmentsDragDrop event that fires when a drag drop operation on an appointment or group of appointments is completed by the end user.
Found the answer...
In the AppointmentsDragging event there is a parameter that indicates if the dragging is complete
private void ultraTimelineView1_AppointmentsDragging(object sender, Infragistics.Win.UltraWinSchedule.AppointmentsDraggingEventArgs e)
if (e.Phase == Infragistics.Win.UltraWinSchedule.AppointmentDragPhase.Ending)
Thank you