This question is locked. New answers and comments are not allowed.
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
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