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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Calendar ui not updating on UWP

Thread ID:

Created:

Updated:

Platform:

Replies:

145754 Jul 6,2019 07:05 PM UTC Jul 12,2019 08:53 AM UTC Xamarin.Forms 2
loading
Tags: SfCalendar
Almis B
Asked On July 6, 2019 07:05 PM UTC

I have the following xaml, what I trying to do is select the whole week when user selects any day.

        <sfCalendar:SfCalendar SelectionMode="RangeSelection" SelectionChanged="SfCalendar_OnSelectionChanged" />

I tried to use the below code.

        private void SfCalendar_OnSelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (sender is SfCalendar sfCalendar && sfCalendar.SelectedDates.Count > 0)
            {
                var date = sfCalendar.SelectedDates.First();

                sfCalendar.SelectedRange = new SelectionRange(
                    date.AddDays(-(int)date.DayOfWeek+1),
                    date.AddDays(-(int)date.DayOfWeek + 7));
                // If I commend the bellow code the ui is not updating but this produce something like a glitch in ui.
                sfCalendar.NavigateTo(date.AddMonths(-1));
                sfCalendar.NavigateTo(date);
            }
        }

Subburaj Pandian Veluchamy [Syncfusion]
Replied On July 8, 2019 10:17 AM UTC

Hi Almis, 
  
Thank you for contacting Syncfusion support. 
  
We have already found and fixed the mentioned issue “Selection was not updated properly in Calendar Xamarin.Forms (UWP). This issue fix will be included in our upcoming 2019 Volume 2 main release which is expected to rollout by mid of July 2019. We appreciate your patience until then. 
 
Regards,
Subburaj Pandian V    


Subburaj Pandian Veluchamy [Syncfusion]
Replied On July 12, 2019 08:53 AM UTC

Hi Almis, 
  
We are glad to announce that our Essential Studio 2019 Volume 2 Release version 17.2.0.34 is rolled out with the reported issue fix “Selection was not updated properly in Calendar Xamarin.Forms (UWP)” and is available for download under the following link. 
  
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
  
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.

Please sign in to access our forum

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon