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.

Is there a way to select a date range?

Thread ID:

Created:

Updated:

Platform:

Replies:

132005 Aug 8,2017 05:14 AM Aug 9,2017 09:00 AM Xamarin.Forms 1
loading
Tags: SfCalendar
Pierre-Christophe DUS
Asked On August 8, 2017 05:14 AM

Hello,

I would like to know if we can use the SfCalendar control 
to select date range on Xamarin.Forms, as we can see on apps like Airbnb or Booking.com.

My needs are to:
- click on a date to select the "start" date of the range
- click on a date to select the "end" date of the range
- highlight all the range between the 2 dates

On your help link (https://help.syncfusion.com/xamarin/sfcalendar/select-multiple-dates), you talk about "range selection" but it's not clear for me...

Thank you,

Rathana Kumar Sekar [Syncfusion]
Replied On August 9, 2017 09:00 AM

Hi Pierre-Christophe,

Thanks for contacting Syncfusion Support.

We can achieve your requirement by setting the SfCalendar Selection mode as MultiSelection. We have prepared the sample, which we have implemented the reported requirement by using Selection changed event. Please find the sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/132005/ze/CalendarSample1584947535 

Please let us know if you have any query.

Regards,
Rathanakumar S. 


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.

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.

;