Appointment moves when I apply a Timemarker

5 posts, 1 answers
  1. Sammy
    Sammy avatar
    26 posts
    Member since:
    Aug 2012

    Posted 19 Aug 2012 Link to this post

    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!
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 21 Aug 2012 Link to this post

    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.

  3. DevCraft banner
  4. Sammy
    Sammy avatar
    26 posts
    Member since:
    Aug 2012

    Posted 25 Aug 2012 Link to this post

    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!


  5. Answer
    Ventzi
    Admin
    Ventzi avatar
    114 posts

    Posted 29 Aug 2012 Link to this post

    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.

  6. Sammy
    Sammy avatar
    26 posts
    Member since:
    Aug 2012

    Posted 29 Aug 2012 Link to this post

    That fixed it!

    Thanks a bunch!
Back to Top
DevCraft banner