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.
Unfortunately, activation email could not send to your email. Please try again.

Recurrence Appointments in MonthView

Thread ID:

Created:

Updated:

Platform:

Replies:

127220 Nov 3,2016 06:32 AM Nov 8,2016 11:09 PM Xamarin.Forms 2
loading
Tags: SfSchedule
Tobias Beck
Asked On November 3, 2016 06:32 AM

Hi,
i have some problems with showing appointments in the MonthView.
I used this code to create recurrence appointments:

ScheduleAppointmentCollection appointmentCollection = new ScheduleAppointmentCollection();
ScheduleAppointment clientMeeting = new ScheduleAppointment();
DateTime startTime = new DateTime(2016, 11, 11, 10, 0, 0);
DateTime endTime = new DateTime(2016, 11, 11, 12, 0, 0);
clientMeeting.StartTime = startTime;
clientMeeting.EndTime = endTime;
clientMeeting.Color = Color.Red;
clientMeeting.Subject = "ClientMeeting";
clientMeeting.IsRecursive = true;
RecurrenceProperties recurrenceProperties = new RecurrenceProperties();
recurrenceProperties.IsDailyEveryNDays = true;
recurrenceProperties.DailyNDays = 2;
recurrenceProperties.IsRangeRecurrenceCount = true;
recurrenceProperties.IsRangeNoEndDate = false;
recurrenceProperties.IsRangeEndDate = false;
recurrenceProperties.RangeRecurrenceCount = 20;
recurrenceProperties.RecurrenceRule = DependencyService.Get<IRecurrenceBuilder>().RRuleGenerator(recurrenceProperties, clientMeeting.StartTime, clientMeeting.EndTime);

clientMeeting.RecurrenceRule = recurrenceProperties.RecurrenceRule;
appointmentCollection.Add(clientMeeting);
sfschedule.DataSource = appointmentCollection;
sfschedule.ScheduleView = ScheduleView.MonthView;
 

After starting the App November 2016 is shown in MonthView and all Appointments are visible.
When I switch to Dezember 2016 there are no Appointments in MonthView.
After switching to January 2017 and than back to November 2016 just the first Appointment (at 2016, 11, 11) is shown.


Emil
Replied On November 8, 2016 07:21 AM

Hi Tobias,

I am having the same problem. Have you found any solution regards to that?

thanks,

Emil

Subburaj Pandian Veluchamy [Syncfusion]
Replied On November 8, 2016 11:09 PM

Hi Tobias/ Emil,

Sorry for the inconvenience caused.

We are able to reproduce the mentioned issue with Schedule RecurrenceAppointment (MonthView) in Xamarin Forms (Android) from our side. We have logged an issue report for this, we will fix this issue and the issue fix will be included in our upcoming Volume 4 release which is expected to be available by mid of this month. We appreciate your patience until then.

Regards,
Subburaj Pandian 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.

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.

;