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.
Syncfusion Feedback

Reset Calendar Dates

Thread ID:





130197 Apr 27,2017 12:45 AM Apr 28,2017 06:38 AM Xamarin.Forms 1
Tags: SfCalendar
Suresh Kulla
Asked On April 27, 2017 12:45 AM


We are trying to use SelectedDatea.Clear function to clear the dates but it is not working. Could you please let us know how to clear the selected dates. Our scenario is the user selected a range of date and when he clicks another date we want to clear the previous selection and highlight the new date. 


Rathana Kumar Sekar [Syncfusion]
Replied On April 28, 2017 06:38 AM

Hi Suresh,

Thanks for contacting Syncfusion Support.

We can achieve your requirement by using SelectionChanged event of SfCalendar and we have prepared the sample which we have try to implement your requirement. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/130197/ze/calendarselectionclear635138331

Note: In the sample, as per your requirement we deselect the previously selected two dates when user select the third date using selectionchanged event of SfCalendar.

If the provided sample doesn't meet your requirement could you please provide more information like modified sample which replicates the reported issue.

It will help us to provide appropriate solution on this.

Rathanakumar S.


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.

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