I'm having a new issue with a custom appointment. I can create new and edit existing instance of the custom appointment just fine. I have written code for that during all the AppointmentCreating/Created/Editing/Edited events to populated all the custom values of the appointment (and there are a lot). The problem pops up when i try to open a recurring event, either the occurrence or the series:
A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.dll
System.Windows.Data Error: ConvertBack cannot convert value 'Recurring Event : 9/16/2013 1:00:00 PM - 9/16/2013 6:00:00 PM' (type 'Telerik.Windows.Controls.ScheduleView.Occurrence'). BindingExpression: Path='CurrentAppointment' DataItem='GlobalLabManager.ViewModels.ReserveViewModel' (HashCode=21873125); target element is 'Telerik.Windows.Controls.RadScheduleView' (Name='schedule_Appointments'); target property is 'SelectedAppointment' (type 'Telerik.Windows.Controls.ScheduleView.IDateSpan').. System.InvalidOperationException: Can't convert type Telerik.Windows.Controls.ScheduleView.Occurrence to type GlobalLabManager.Models.GLMAppointment.
I suspect its this last bit that is important. Is there a different set of events that fire for opening a recurring appointment that I don't know about?
A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.dll
System.Windows.Data Error: ConvertBack cannot convert value 'Recurring Event : 9/16/2013 1:00:00 PM - 9/16/2013 6:00:00 PM' (type 'Telerik.Windows.Controls.ScheduleView.Occurrence'). BindingExpression: Path='CurrentAppointment' DataItem='GlobalLabManager.ViewModels.ReserveViewModel' (HashCode=21873125); target element is 'Telerik.Windows.Controls.RadScheduleView' (Name='schedule_Appointments'); target property is 'SelectedAppointment' (type 'Telerik.Windows.Controls.ScheduleView.IDateSpan').. System.InvalidOperationException: Can't convert type Telerik.Windows.Controls.ScheduleView.Occurrence to type GlobalLabManager.Models.GLMAppointment.
I suspect its this last bit that is important. Is there a different set of events that fire for opening a recurring appointment that I don't know about?