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
25
Get the original of an copied appointment
posted

I've got a databinded ultradayview.

When dragging appointments using the CTRL key, the appointment get's copied.

How do i get the original appointment the copied appointment was cloned from?

Parents
No Data
Reply
  • 815
    Verified Answer
    posted

    hey there,

    i think in the dragDrop event of the control you will have e.CopiedAppointments and e.Appointments.

    Get your original appointments by accessing e.Appointments. If this object returns null then I suggest binding an unique identifier to each appointment before adding them (something like appointment.Tag = myUniqueId) and after that just check when you have a new copy where it came from.

    Hope it helps!

Children
No Data