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

VisibleDates wrong when MonthChanged

Thread ID:





148848 Nov 6,2019 11:14 AM UTC Nov 26,2019 11:41 AM UTC Android 2
Tags: SfCalendar
Lars Heinrich
Asked On November 6, 2019 11:19 AM UTC


I´m trying to populate events into a calendar when changing  the month on xamarin.android. In order to know what days are shown in the calendar I take the VisibleDates Min and Max from the event args. This works fine while swiping or navigation left or right.
The visible dates matches the displayed dates.

But they do not match when I change the ViewMode and than select a different month. In this case the following is happening.
So let´s say we are displaying the days of the current month, and then click the month lable and select january of the current year. I get a MonthChanged event with the following args

((MonthChangedEventArgs) args).NewValue = 1/1/2019 
e.VisibleDates.First() == 11/1/2019
e.VisibleDates.Last() == 1/11/2020

so the VisibleDates do not match the changed month. Is there any event that i can subscribe to that notifies me if  VisibleDates changed? If not is there any way to get the correct VisibleDates from a given Month so i can load the correct CalendarInlineEvents?

Or is this a Bug that get´s fixed?


Indumathi Ravichandran [Syncfusion]
Replied On November 7, 2019 12:10 PM UTC

Hi Lars,    
Thank you for contacting Syncfusion support.   
We can able to reproduce the reported issue “Calendar showing inappropriate Visible dates when change the month through ViewMode changing (By clicking Month label [November 2019] for changing month)” and logged issue report for the same. We will fix the issue and include the issue fix in our upcoming Weekly Nuget release update which is planned to roll out on November 26, 2019. We appreciate your patience until then.   
You can track the status of this report through the below feedback link.  
Note: The provided feedback link is private, you need to login to view this feedback.   
Indumathi R   

Indumathi Ravichandran [Syncfusion]
Replied On November 26, 2019 11:41 AM UTC

Hi Lars,                    
We have fixed the reported issue “Calendar showing inappropriate Visible dates when change the month through ViewMode changing (By clicking Month label [November 2019] for changing month) and included the issue fix in our latest Weekly NuGet release update version which is available for download (nuget.org).

We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance. 
Indumathi R 


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