In my SFCalender, I am displaying events that are provided by the server for the list of visible days. When the calendar first loads, from the constructor I make a call with something similar to:
DateTimestart=this.VisibleDates.GetItem<NSDate>(0).NSDateToDateTime(); DateTimeend=this.VisibleDates.GetItem<NSDate>(this.VisibleDates.Count-1).NSDateToDateTime(); fetchData(start,end);//returns dates from server
This creates the list of custom appointments and sets them in the calendar. It works great when I do the initial load. I also call the same method from my SFCalendarDelegate.DidMonthChange. It loads the data from the server correctly, but the UI doesn't update when the appointments are set. I either have to interact with the calendar (tap it) or rotate the device to make the UI update and show the dots.
Even more odd however, is I am getting issues where I can't swipe back to the current month. I can load the calendar, and show my events for April. If I swipe to May, my events load (but don't show.) If I tap the calendar, I can see the event dots. Now if I try to swipe back to April, I see April for a moment and it will fetch the data for April, but then the UI will display May again. If I continue to swipe to the left, it will keep moving me back to May. If I go to June (where there are no events scheduled yet) I can go back to May and then go back to April.
So could please provide more information like modified sample which replicates the reported issue.It will help to provide appropriate solution on this.
Regards, Rathanakumar S.
CAClint AndersonApril 21, 2017 04:25 PM UTC
I was able to recreate the issue by modifying the sample you provided.
Appointments load on the initial month (April). If you swipe to May, they load, but you must interact with the calendar for them to display. Swiping back to April causes the appointments to load, but then the calendar switches back to May again.
RKRathana Kumar Sekar Syncfusion Team April 24, 2017 12:27 PM UTC
Thanks for contacting Syncfusion Support.
We were able to reproduce the reported issue and have logged defect report regarding this. A support incident to track the status of the issue has been created under your account. Please log on to our support website to check for further updates.