Hi,
when a user selects any appointment and then press Alt Key and do drag drop on any other existing appointment in ultradayview/ultraweekview, i want the existing appointment to be replaced with the dragged appointment.
Basically i want a functionality where Alt+Drag drop will do an appointment replacement.
Thanks,
Chitra
The Key Modifier works for me, i am able to replace appointment on Alt+Drag drop.
There is one UI Issue i am facing, when i do Alt+drag drop, while dragging an appointment over existing appointment, the size of the appointments shrinks(Screen shot Alt+DragDrop.jpg). And as soon as i drop, the existing appointments get deleted and dragged appointment takes proper size.(Screen shot After_Alt+DragDrop.jpg)
Is there a way i can show them as overlapping existing appoinment with the dragged appoinment before replacing it.(i dont want to show that shrinking of appointments while performin alt+drag drop)
OR is it possible to show only Drag pointer while Alt+Drag Drop instead of moving appointment with mouse pointer while performing Drag-Drop.
Hello,
I am just checking about the progress of this issue. Let me know If you need any further assistance on this matter ?
Thank you for using Infragistics Components
You could handle AppointmentDragging event and check which keyModifier (if (ModifierKeys == Keys.Alt )) was hold in order to perform your custom operations. More information about this even you will find on the following link:
http://help.infragistics.com/doc/WinForms/2014.1/CLR4.0/?page=Infragistics4.Win.UltraWinSchedule.v14.1~Infragistics.Win.UltraWinSchedule.ControlWithActivityBase~AppointmentsDragging_EV.html
Also I’ve implemented simple sample which demonstrates usage of AppointmentDragging event, in order to replace the appointment, please see attached sample.
Please let me know if you have any further questions.