We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to dynamically load data into the schedule control when month changes?

Thread ID:

Created:

Updated:

Platform:

Replies:

113668 Oct 3,2013 11:50 PM UTC Oct 7,2013 11:43 AM UTC WinRT 3
loading
Tags: SfSchedule
Hoanh Phan
Asked On October 3, 2013 11:50 PM UTC

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?


Joy Oyiess Rex  K [Syncfusion]
Replied On October 4, 2013 07:10 AM UTC

Hi Hoanh,

 

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.

 

Regards,

Joy Oyiess Rex K



SfScheduleSample_55c7a6aa.zip

Hoanh Phan
Replied On October 4, 2013 11:33 PM UTC

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?


Joy Oyiess Rex  K [Syncfusion]
Replied On October 7, 2013 11:43 AM UTC

Hi Hoanh,

We are able to reproduce the mentioned issue, we have confirmed that the issue with “VisibleDates property is not updated when navigating backwards” is a defect and we have logged a defect report. This fix will be included in our main release 4 which will be available in December 2013.

Please let us know, if you have any concerns.

Thanks,
Joy Oyiess Rex K

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;