MouseOverSlot always null

2 posts, 0 answers
  1. Alain
    Alain avatar
    239 posts
    Member since:
    Aug 2013

    Posted 10 Apr 2014 Link to this post


    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

  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 15 Apr 2014 Link to this post

    Hi Alain,

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top