Appointment Deletion Behaviour

2 posts, 0 answers
  1. Philip
    Philip avatar
    1 posts
    Member since:
    Jul 2012

    Posted 23 Jul 2012 Link to this post

    I have a scenario where I allow users to add and remove appointments from the schedule.

    I have attached a Command to the delete appointment button to replace the standard 'local:RadScheduleViewCommands.DeleteAppointment'. I pass through the Unique Id of the appointment as a Command Parameter. I do this in order to remove them from an observable collection in my ViewModel.

    I find that if I set up multiple appointments I can remove them from my observable collection without issue as the correct Unique Id is passed as Command Parameter, but only if the appointment was added prior to the first appointment deletion. If I choose to delete / remove an appointment then create a new one, when I try to delete / remove the new one, the Unique Id that gets passed through as the Command Parameter is the Unique Id of the last appointment to be deleted / removed.

    Please could you let me know if this is a bug with the ScheduleView control

    Thanks


  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 25 Jul 2012 Link to this post

    Hi Philip,

    I tried to reproduce the issue you are describing with the latest assemblies - I am deleting one appointment and then creating a new one, but the UniqueIDs look different. Attached I am sending you a short video for reference.
    Could you please share more details how to reproduce the problem - ultimately, if you could send us a sample where this issue can be observed, it will be very helpful for tracking down the source of the problem in a timely manner.

    Looking forward to your reply.

    Kind regards,
    Konstantina
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top