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. Image for the cookie policy date
close icon

Recurrence Appointments in MonthView

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.


2 Replies

EM Emil November 8, 2016 12:21 PM UTC

Hi Tobias,

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

thanks,

Emil


SP Subburaj Pandian Veluchamy Syncfusion Team November 9, 2016 04:09 AM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon