We are using the schedule control in a Windows Store app and are wondering how we might load data dynamically into the control as the user changes months. We don't want to pull down all of the data for a couple of years if we don't have to. Rather, I would have expected an event that fires when the user changes the dates that are currently in view.
Is there a way to accomplish this? Some event and/or property that returns the current date range?
Thanks for your interest in Syncfusion Products.
We don’t have any direct support to listen the visible dates change while Navigation , but your requirement can be achieved by using the VisibleDates property of the SfSchedule. This is a property contains the visible dates collection of SfSchedule. This property gets changed while we navigate the view.
So when we bind the VisibleDates property of SfSchedule to a Local property in application, then local property gets changed when VisibleDates property gets changed. By listening to the local property we can perform required action.
We have created a simple sample for the same, please find the sample in the attachment.
Please let us know, if you need any further assistance.
Joy Oyiess Rex K
Thank you -- that is helpful. Did you notice, however, that the VisibleDates property is not updated when navigating backwards in time? It works fine going forward month to month, but not backwards. Is there a fix for that?