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
390
Disable drag-drop for Appoinments
posted

Hi everyone,

How does one disable the drag-drop for appointments?

 Please help, thank you.

Parents
No Data
Reply
  • 2077
    Offline posted

    Subscribe to the BeforeAppointmentsMoved in the UltraDayView (or WeekView, or MonthView), and cancel the event:

    OnFormLoad

    {

        _dayView.BeforeAppointmentsMoved += OnBeforeAppointmentMoved;

    }

    private static void OnBeforeAppointmentMoved(object sender, CancelableAppointmentsEventArgs e)
    {
        e.Cancel = true;
    }

    Hope it helps,

    Emanuel

Children