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

Appointment Deletion Behaviour

1 Answer 76 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Philip
Top achievements
Rank 1
Philip asked on 23 Jul 2012, 10:26 AM
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


1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 25 Jul 2012, 03:00 PM
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.

Tags
ScheduleView
Asked by
Philip
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or