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

Update Calendar Events

Thread ID:

Created:

Updated:

Platform:

Replies:

124176 May 23,2016 12:25 PM UTC Mar 27,2017 10:53 AM UTC Xamarin.Forms 7
loading
Tags: SfCalendar
Umar Mohammed
Asked On May 23, 2016 12:25 PM UTC

I am using the SfCalendar Control in a xamarin forms application to display a list of calendar events. 

<xForms:SfCalendar x:Name="Calendar" DataSource="{Binding CalendarEventCollection}" ShowInlineEvents="True"/>

In my View Model I have a CalendarEventCollection property that I bind to the DataSource of the SfCalendar control. This works fine for when I initially populate the collection.

My app gets events from a web service and needs to update the calendar control. If I add more events to CalendarEventCollection these are not updated on the calendar control. 

I notice that CalendarEventCollection implements ObservableCollection<CalendarInlineEvent> so I'm guessing that simply adding to the CalendarEventCollection should just work. 

How can I get the SFCalendar control to update when adding new events? 

Hemalatha Marikumar [Syncfusion]
Replied On May 24, 2016 11:55 AM UTC

Hi Umar,

Thanks for contacting Syncfusion Support.

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/

Regards,
Hemalatha M.R


David Lopera
Replied On November 3, 2016 10:57 PM UTC

Any solutions to this problem? 

Rajkumar Ganesamoorthy [Syncfusion]
Replied On November 4, 2016 12:59 PM UTC

Hi David,

Thank you for contacting Syncfusion Support.

The issue with "Unable to update the SfCalendar's DataSource" issue were fixed with our latest version. So could you please check the reported issue by using our latest.

Regards,
Rajkumar G

David Lopera
Replied On November 28, 2016 10:27 PM UTC

Hi, 

I'm using version 14.3.0.52 for SfCalendar with Xamarin.Forms. I'm having 3 important issues:

1. For iOS app when the event MonthChanged is fired, the new events gotten from web service doesn't show in the calendar until I select any day.
2. For iOS app when swiping to right or left to change the month, the app closes itself.
2. The databinding is slow, what is your advice to do the databinding when getting data from web service?

Thanks!

Rajkumar Ganesamoorthy [Syncfusion]
Replied On November 29, 2016 11:40 AM UTC

Hi David,

Thank you for contacting Syncfusion Support.

Issue 1: For iOS app when swiping to right or left to change the month, the app closes itself.

The above reported issue were resolved with our latest version. So could you please update your Essential Studio to our latest and check the reported issue?

Issue 2: For iOS app when the event MonthChanged is fired, the new events gotten from web service doesn't show in the calendar until I select any day

Issue 3: The databinding is slow, what is your advice to do the databinding when getting data from web service?

We were unable to reproduce the reported issue so could you please provide more information about this issue like issue reproducing sample , that will help us to provide better solution on this.

Regards,
Rajkumar G

Joao Pedro Zamarioli
Replied On March 24, 2017 05:15 PM UTC

Same issue here.
The calendar doesn't get refreshed after updating the CalendarEventCollection in View Model.
Only when I move the month up/down the events get there.
I'm using Essential Studio 15.1.0.33.
Any ideas?


Rathana Kumar Sekar [Syncfusion]
Replied On March 27, 2017 10:53 AM UTC

Hi Joao,
 
Thanks for contacting Syncfusion Support.
 
We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.
 
 
Regards,
Rathanakumar S.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;