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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to bind a generic list/dictionary to a calendar

Thread ID:

Created:

Updated:

Platform:

Replies:

116535 Jun 6,2014 01:41 PM UTC Jun 9,2014 01:38 PM UTC WinRT 1
loading
Tags: SfCalendar
Imran Prasla
Asked On June 6, 2014 01:41 PM UTC

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.

Vignesh V [Syncfusion]
Replied On June 9, 2014 01:38 PM UTC

Hi Imran,

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.

Please find the sample in below link,

Please let us know if the sample meets your requirement.

Regards,
Vignesh V

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

;