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

SfCalendar OnCalendarTapped + DataSource.Add

Thread ID:

Created:

Updated:

Platform:

Replies:

124603 Jun 16,2016 03:46 PM UTC Jun 17,2016 05:30 PM UTC Xamarin.Forms 1
loading
Tags: SfCalendar
Francesco Meggetto
Asked On June 16, 2016 03:46 PM UTC

Hi,

I have a basic SfCalendar defined in XAML with ShowInlineEvents="true" (and currently testing on Android).
After calling OnCalendarTapped, I try to add a new event to the Calendar's Data Source by doing the follow:

CalendarInlineEvent myEvent;
sfCalendar.OnCalendarTapped += (object sender, CalendarTappedEventArgs args) =>
{
                DateTime date = args.datetime;

                myEvent= new CalendarInlineEvent();
                myEvent.StartTime = date;
                myEvent.EndTime = date;
                myEvent.Subject = "Go to Meeting";
                myEvent.Color = Color.Blue;
                sfCalendar.DataSource.Add(myEvent);
};

The issue is that nothing is being displayed, even though the event has been added to the Data Source (I have checked during runtime and it is properly working).

Bug or am I missing something out?
Cheers!

Francesco

Hemalatha Marikumar [Syncfusion]
Replied On June 17, 2016 05:30 PM UTC

Hi Francesco,

Thanks for contacting Syncfusion Support.

We were able to reproduce the reported issue "Unable to update the inline event inside the calendar Tapped event " at our side. We have logged the defet report regarding this. The fix of the issue will be available in any of our upcoming relese. Please visit our website periodically to know the release .

Regards,
Hemalatha M.R

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

;