with version 2013.3.1204.40 of Telerik. I implemented a CustomDragDropBehavior and in the override method CanDrop, if I do the following :
Slot mouseOverSlot = (state.ServiceProvider.GetService<IDialogProvider>() as RadScheduleView).MouseOverSlot;
mouseOverSlot is always null
1 Answer, 1 is accepted
answered on 15 Apr 2014, 09:09 AM
The MouseOverSlot property of the ScheduleView is used and set in the selection behavior of the control, not for the DragDrop functionality, that is why it is always null. Furthermore, when dragging, the mouse is captured by the dragged object, and it receives all mouse events. The property you need I guess is the DestinationSlots, which can be retrieved from the DragDropState in all DragDrop events.
Hope this helps.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.