Appointement resizing not working in C1Schedule in C#

Posted by: C_S.Kalaivanan on 6 February 2019, 4:49 am EST

    • Post Options:
    • Link

    Posted 6 February 2019, 4:49 am EST

    Hi,

    I need to resize the appointment using mouse at the same time drag and drop of appointment should not be allowed. I tried below code to achieve this.

    C1Schedul1.EditOptions = EditOptions.AllowAppointmentEdit;

    But C1Schedule not showing resize option. When I change the EditOptions as below Resize is working but drag and drop also working.

    m_objView.EditOptions = ((EditOptions)(EditOptions.AllowDrag | EditOptions.AllowAppointmentEdit));

    Please guide to solve this issue.

    Thanks

    Kalaivanan

  • Posted 7 February 2019, 8:49 am EST

    Hello,

    I understand you wish to allow resizing but prevent drag- dropping of appointments.

    To achieve this, you should handle BeforeAppointmentDrop event and inside cancel the event by e.Cancel=true.

    Thanks,

    Ruchir

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels