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

Appointment moves when I apply a Timemarker

4 Answers 22 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Sammy
Top achievements
Rank 1
Sammy asked on 19 Aug 2012, 05:57 PM
Hi All,
Was wondering if anyone else has seen this behavior.

When I have 2 appointments, at the same time (they are side-by-side in the schedulview), and I apply a timemarker (free, or busy, or out of office), to the left appointment, it moves to the right appointment (and the right appointment moves to the left).

It's really annoying, because basically the 2 appointments swapped places, and the user is scatching their head, wondering what happened.

Any ideas on how to stop this?

Thanks!

4 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 21 Aug 2012, 08:49 AM
Hi Sammy,

We are not aware of such behavior in RadScheduleView . Could you please try to record a short video showing the exact steps needed to reproduce the problem? You can use Jing for this.
Thanks in advance

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sammy
Top achievements
Rank 1
answered on 25 Aug 2012, 06:08 PM
Alright. I was actually able to duplicate this using Telerik's silverlight demo. This is the 1st time I've ever used Jing, so the vid is a little rough, but it demonstrates the bug, where if you apply a time marker, the appointment will move.

here is the vid:
http://screencast.com/t/99VuF1E2dn

here is the demo I used:
http://demos.telerik.com/silverlight/#ScheduleView/FirstLook

Thanks a bunch!


0
Accepted
Ventzi
Telerik team
answered on 29 Aug 2012, 08:23 AM
Hello Sammy,

Thank you for pointing us this issue out. This is actually a small bug in the example. To fix this issue, you have to remove the following code block from SetTimeMarkerCommandExecuted method in the ViewModel

this.Appointments.Remove(appointmentToEdit);
this.Appointments.Add(appointmentToEdit);

And than add the following one that insert the edited appointment at the same position
var index = this.Appointments.IndexOf(appointmentToEdit);
this.Appointments.Remove(appointmentToEdit);
this.Appointments.Insert(index, appointmentToEdit);

We're sorry for the caused inconvenience.
Greetings,
Ventzi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Sammy
Top achievements
Rank 1
answered on 30 Aug 2012, 01:18 AM
That fixed it!

Thanks a bunch!
Tags
ScheduleView
Asked by
Sammy
Top achievements
Rank 1
Answers by
Yana
Telerik team
Sammy
Top achievements
Rank 1
Ventzi
Telerik team
Share this question
or