ScheduleViewDragDropBehavior not called with latest version of telerik scheduleView

3 posts, 0 answers
  1. Andrei
    Andrei avatar
    7 posts
    Member since:
    Jan 2013

    Posted 20 Jan 2015 Link to this post

    Hi.

    I have updated the latest version of the telerik dlls for schedule view and the drag/drop behavior stopped working. I do not have this problem for the RadListBox, all works as it previously did.

    the setup is this:
    <telerik:RadScheduleView.DragDropBehavior>
    <localScheduler:ScheduleViewLevel1DragDropBehavior />
    </telerik:RadScheduleView.DragDropBehavior>

    public class ScheduleViewLevel1DragDropBehavior : ScheduleViewDragDropBehavior
        {
            public override bool CanStartDrag(DragDropState state)
            {
                return true;
            }
            public override bool CanResize(DragDropState state)
            {
                return false;
            }
            public override bool CanDrop(DragDropState state)
            {
                //...
                    return true;
            }
            public override void Drop(DragDropState state)
            {
                //...
            }
    }

    On the Appointment template I used                 telerik:DragDropManager.AllowDrag="True"

    Everything was working ok before I updated the dlls , now none of the override methods in the ScheduleViewDragDropBehavior  are hit. 

  2. Andrei
    Andrei avatar
    7 posts
    Member since:
    Jan 2013

    Posted 20 Jan 2015 in reply to Andrei Link to this post

    Just to verify , without any changes to the code ,I reverted back to the 11.07.2013 version of telerik Dlls. All works fine.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 22 Jan 2015 Link to this post

    Hi Andrei,

    We have tried to reproduce the described behavior of RadScheduleView using the provided code snippet with version 2014.3.1202 and everything works as expected - the DragDrop is performed. Isolating the issue and sending us a sample project that reproduces the issue or some more detailed code snippet will be of great help for us in our further investigation.

    We're looking forward to hearing from you.

    Regards,
    Nasko
    Telerik
     

    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.

     
Back to Top