I was able to achieve similar to the desired behavior by handling the MouseMove
event of the RadScheduler
control. Below is the implementation of it:
sender, MouseEventArgs e)
(e.Button == System.Windows.Forms.MouseButtons.Left &&
IEvent draggedApp =
DateTime newStart =
TimeSpan oldDuration = draggedApp.Duration;
draggedApp.Start = newStart;
draggedApp.Duration = oldDuration;
.radScheduler1.ActiveView.StartDate = newStart;
This code moves the appointment to the next week, but ends the drag operation. This is the closest to the desired behavior I could achieve.
The current architecture of RadScheduler
is such that the drag operation cannot continue when the view is changed. In order to be able to implement such functionality, we need to replace the whole drag-and-drop logic which a fairly big task. That is why I cannot provide you with specific time frame in which we will address this request. I have logged this in our Public Issue Tracking System
so you can subscribe to it and get notified about any changes of its status. Here is the link to the PITS item
. As it gets more votes we will consider addressing it with higher priority.
I hope this is useful. Please let me know if you have any further questions.
the Telerik team
Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.