What I am trying to achieve is there is a service/api that I call in order to get what events fall on what day and based on that I bind the data to the calendar. The scenarios in the sample doesn't work because the calendar gets initialized before the service request is completed. Therefore, it is always blank events. My viewmodel calls the service and viewmodel binds to any control via the code behind file. Let me know if there is a better way to achieve this problem than what is already in the samples.
VVVignesh V Syncfusion Team June 9, 2014 01:38 PM UTC
We have prepared a sample that tries to meet your requirement, 'Adding events to SfCalendar from Service/api' . In the sample we have provided a method named 'GetEvent' where dates and corresponding events can be updated.