This is a migrated thread and some comments may be shown as answers.

ScheduleViewDragDropBehavior not called with latest version of telerik scheduleView

2 Answers 59 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Andrei
Top achievements
Rank 1
Iron
Andrei asked on 20 Jan 2015, 12:47 PM
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 Answers, 1 is accepted

Sort by
0
Andrei
Top achievements
Rank 1
Iron
answered on 20 Jan 2015, 01:28 PM
Just to verify , without any changes to the code ,I reverted back to the 11.07.2013 version of telerik Dlls. All works fine.
0
Nasko
Telerik team
answered on 22 Jan 2015, 03:59 PM
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.

 
Tags
ScheduleView
Asked by
Andrei
Top achievements
Rank 1
Iron
Answers by
Andrei
Top achievements
Rank 1
Iron
Nasko
Telerik team
Share this question
or