Hi I'm using the calendar component and what I'm not be able to do
is to bind the calendar to a ObservableCollection property of the ViewModel of the page.
The type of the ObservableCollection will be a custom type and one attribute of the custom type
will be showed in the cells of the calendar with the number of the day.
The ObservableCollection is populated from a database and if I add,modify or remove an item in the ObservableCollection the calendar must be updated automatically because the ViewModel of the page implement the INotifyPropertyChanged interface.
VJVictory Jessie Selvam D Syncfusion Team January 13, 2014 11:17 AM UTC
Your requirement cannot be achieved with SfCalendar control.
SfCalendar control is derived from Control class, it doesn't
support binding any collection to generate the content. Calendar view is
updated with DateTime source internally in our source project and there is no
possibility to change it from sample.
Please let us know if you need further assistance.
DADanieleJanuary 15, 2014 08:37 AM UTC
So, If I have understood well If I want that the user delete some appointment I have to refresh the page to see the calendar updated?
VJVictory Jessie Selvam D Syncfusion Team January 16, 2014 11:04 AM UTC
Thanks for your update.
Query: So, If I have understood well If I want
that the user delete some appointment I have to refresh the page to see the
Yes you need to refresh the SfCalendar with Refresh() method
when the user delete some appointment to see the Calendar updated.