Disable move event for specific appointment

2 posts, 0 answers
  1. Philip
    Philip avatar
    1 posts
    Member since:
    Oct 2012

    Posted 22 Oct 2012 Link to this post


    is there a way to disable the move event for a specific appointment?

    It seems that the recurring events already have this built in, but is there any way I can add this to my custom appointments?

  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 23 Oct 2012 Link to this post

    Hello Philip,

    Thank you for your question.

    You can use the DragDropBehavior property of RadScheduler to manipulate the drag & drop operations. In your particular case, you should handle the Started event and stop the drag operation if the appointment is a custom one:
    public Form1()
        this.radScheduler1.Appointments.Add(new Appointment() { Start = DateTime.Now, Duration = TimeSpan.FromHours(1), Summary = "Default" });
        this.radScheduler1.Appointments.Add(new CustomAppointment() {Start = DateTime.Now, Duration = TimeSpan.FromHours(1), Summary = "Custom" } );
        this.radScheduler1.DragDropBehavior.Started += new EventHandler(DragDropBehavior_Started);
    void DragDropBehavior_Started(object sender, EventArgs e)
        if (this.radScheduler1.DragDropBehavior.ActiveFeedback.AssociatedAppointment is CustomAppointment)

    Hope this helps. Do not hesitate to write back if you have any additional questions.

    Ivan Todorov
    the Telerik team
    You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.
Back to Top