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

Appointment on wrong day

   
Hi, when you set the first day of week with appointment it shows the appointment on the wrong day. Changing the order of first add appointment and then set the first day doesn't work.
How do you it? See code below:

            SfSchedule sfschedule = new SfSchedule(viewCalendar.Context);          
            sfschedule.ScheduleView = ScheduleView.WeekView;
            sfschedule.FirstDayOfWeek = Calendar.Monday;
            
            ScheduleAppointmentCollection appointmentCollection;
            appointmentCollection = new ScheduleAppointmentCollection();         
            
            ScheduleAppointment clientMeeting = new ScheduleAppointment();
            clientMeeting.StartTime = new GregorianCalendar(2016, 6, 1, 9, 15, 0);
            clientMeeting.EndTime = new GregorianCalendar(2016, 6, 1, 11, 45, 0);
            clientMeeting.Subject = "Client Meeting";
            appointmentCollection.Add(clientMeeting);         
          
            sfschedule.Appointments = appointmentCollection;          
            linearLayout1.AddView (sfschedule);

1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team July 4, 2016 10:17 AM UTC

Hi Salome,

Thank you for using Syncfusion products.

We have already fixed the mentioned issue “ScheduleAppointment rendering in wrong position while setting FirstDayOfWeek” in Xamarin Android. The fix is included in our latest Essential Studio volume 2 Release. So, please upgrade to our current version (14.2.0.26) that you can download from the link below.

https://www.syncfusion.com/forums/124709/essential-studio-2016-volume-2-release-v14-2-0-26-is-available-for-download

Regards,
Subburaj Pandian V.



Loader.
Up arrow icon