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

Drag&drop beyond DayStartTime not working as expected

4 Answers 35 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Claire
Top achievements
Rank 1
Claire asked on 14 Dec 2015, 11:01 PM
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.

4 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 17 Dec 2015, 08:09 AM
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
0
Claire
Top achievements
Rank 1
answered on 17 Dec 2015, 05:51 PM
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.
0
Claire
Top achievements
Rank 1
answered on 17 Dec 2015, 08:52 PM
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.
0
Kalin
Telerik team
answered on 21 Dec 2015, 08:27 AM
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
Tags
ScheduleView
Asked by
Claire
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Claire
Top achievements
Rank 1
Share this question
or