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

Visual dragdrop problem after custom appointment is dragged once

1 Answer 23 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 07 Feb 2012, 04:57 PM
When my page is loaded, I create a handful of custom appointments and bind them to my radScheduleView.  If I try to drag them around or resize them, it works as anticipated (there is a blank 'ghost' order that gets moved around as I am dragging or resizing the load that tells me the start and end times of the order if I were to drop it).  However, it only works once per order.

Immediately after performing one drag or resize, whenever I try to do another, there is no 'ghost' order.  The drag operation or resize operation is still performed (and the ghost image shows up if you try to drag it to a different resource), but if I try to move it around in its current resource, no 'ghost' order shows up.  Obviously this isn't that big of a deal, but I'm certain the users of this page will find it a touch obnoxious.

My guess is I need to do something (or am doing something wrong) in the copy or copyfrom functions that I override from the AppointmentBase class (I have also tried inheriting from just the appointment class and not overriding those functions, but that didn't work either).  During the drop function after a drag or a resize, those functions are called and a new Appointment is created.  If there is something different about the newly created Appointment, that would explain the change in the dragdrop functionality.  If anyone could offer any guidance, it would be truly appreciated.  Thanks!

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 15 Feb 2012, 03:55 PM
Hello Michael,

Are you able to reproduce this issue in our examples? Also, could you please share with us which version of the controls you are using? If you could send us some code snippets which will be enough to reproduce the issue, or ideally send us a sample project, where this can be observed it will be very helpful for tracking down the source of the issue.

Looking forward to your reply.

Regards,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ScheduleView
Asked by
Michael
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or