Visual dragdrop problem after custom appointment is dragged once

2 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    May 2011

    Posted 07 Feb 2012 Link to this post

    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!
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 15 Feb 2012 Link to this post

    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.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top