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.

Get selected date for SFCalendar

Thread ID:

Created:

Updated:

Platform:

Replies:

129225 Mar 6,2017 03:17 AM Mar 7,2017 08:03 AM Xamarin.Forms 1
loading
Tags: SfCalendar
anne
Asked On March 6, 2017 03:17 AM

How can i access to the date selected when the selection mode is "SingleSelection" and "RangeSelection"
I can accessed the date only when the selection mode is "MultiSelection" by using code shown below. Anyone can show me how to get the date for single selection and range selection. Thanks.

private void calendarPopup_OnCalendarTapped(object sender, CalendarTappedEventArgs args)
        {                               
                string strval = "";
                foreach (DateTime day in calendarPopup.SelectedDates)
                {
                    strval += day.Date.ToString("dd/M/yyyy");                 
                }
                
            }
        }

Rathana Kumar Sekar [Syncfusion]
Replied On March 7, 2017 08:03 AM

Hi Lee,

Thanks for  contacting Syncfusion Support.

We can access selected date for single selection and selected dates for rangeSelection by using SelectionChanged event and we have already fixed the reported issue "Accessing Selected date for Single Selection and Selected Dates for RangeSelection in SelectionChangedEvent" for internally. This fix will be available our upcoming volume 2 release which will be available by the mid of April.

If you wish to receive a patch for this prior to the public release date, please contact our sales team at salessupport@syncfusion.com.

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.

;