Drag&drop beyond DayStartTime not working as expected

5 posts, 0 answers
  1. Claire
    Claire avatar
    24 posts
    Member since:
    Apr 2015

    Posted 14 Dec 2015 Link to this post

    I have a ScheduleView with DayStartTime set to 09:00, and DayEndTime set to 16:00. I want to allow the user to drag an appointment partially beyond the day boundaries. 

    If I have an appointment (with a duration of, say two hours) that I drag near the DayEndTime, things work as expected. I can drag&drop it, for example, in the 15:30 slot, and there is an arrow indicating that the appointment extends beyond 16:00. This is the behavior I want.

    However, if I drag the appointment near the DayStartTime, the drag cue disappears. At that moment, if I drop the appointment, then I "lose" it . Peeking into the appointment collection, I can see that it has been moved to the first slot of the day, that is, assigned start time 00:00, and end time 02:00.

    This happens with the default DragDropBehavior.

  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 17 Dec 2015 Link to this post

    Hi Claire,

    We are aware of this issue and it has already been fixed in the latest internal build. What I can suggest you would be to download it from your account and test the scenario.

    Hope this helps.

    Regards,
    Kalin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Claire
    Claire avatar
    24 posts
    Member since:
    Apr 2015

    Posted 17 Dec 2015 in reply to Kalin Link to this post

    Unfortunately, installing the latest build seems to have broken my Visual Studio 2013 Community Edition. I'm in the process of repairing it right now.
  5. Claire
    Claire avatar
    24 posts
    Member since:
    Apr 2015

    Posted 17 Dec 2015 in reply to Kalin Link to this post

    I finished repairing my Visual Studio, and tested my application with your latest build. The problem is indeed fixed, I no longer lose the appointment if I drag and drop it beyond the start time of the schedule. 

    However, although this is a minor issue, I am now unable to drag the appointment beyond the start time, as I can do at the other end of the day.
  6. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 21 Dec 2015 Link to this post

    Hi Claire,

    This is expected behavior - the Appointment moves as long as its Start can be dropped in the visible time (time between DayStartTime and DayEndTime) of previous day, without moving the End outside of the visible time. If cannot be moved at all means that the hidden time is more than the duration of the Appointment (it Start cannot reach the visible time from the previous day).

    Hope this helps.

    Regards,
    Kalin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready