I have used custom appointment in my project and added a "VisitTime" time property in the appointment template. When I load my calendar for the first time the time reflects correctly in the Appointment tile but when I change the time in code for that appointment, the changes are not getting reflected properly in the appointment tile in UI. The "VisitTime" property is defined as below and is defined in the VisitAppointment class derived from appointment class of telerik.
public DateTimeOffset VisitTime
{
get { return _visitTime; }
set
{
_visitTime = value;
OnPropertyChanged(() => VisitTime);
}
}
I tried using Edit() and Commit() method which are provided by default from telerik in order to update the changes in the UI. I passed the modified appointments collection(i.e custom appointments derived from telerik Appointment class) in the Edit() method and then later on called Commit() but still the changes are not getting reflected until and unless I reload the calendar (i.e fetch data from database again and then create the appointments collection from scratch).
Please help me out with the necessary things that you think I might have missed out.
Thanks in advance.