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

Selected date handler

Thread ID:

Created:

Updated:

Platform:

Replies:

124184 May 23,2016 06:16 PM UTC Sep 21,2016 04:18 PM UTC Xamarin.iOS 8
loading
Tags: SfCalendar
Arturo Calvo
Asked On May 23, 2016 06:16 PM UTC

Hi

is there any way to manage date selection in the SfCalendar control? 

for example, I have my calendar by month view, and when I tap any date I want to present another ViewController, is there a way to do this?

Thanks in advance.

Hemalatha Marikumar [Syncfusion]
Replied On May 24, 2016 07:29 AM UTC

Hi Arturo,

Thanks for contacting Syncfusion Support.

Using OnCalendarTapped event, you can achieve your requirement. CalendarTapped event gets called when the date cell is tapped in SfCalendar control. For more information, please visit our user documentation link

Link: http://help.syncfusion.com/xamarin/sfcalendar/events  

Regards,
Hemalatha M.R


ASADULLAH
Replied On August 18, 2016 09:23 PM UTC

Hi, I am using the code but it does not fire the delegate method CalendarTapped, here is the code:


        this.sfCalendar.Delegate = new CalendarDelegate();

        public class CalendarDelegate: SFCalendarDelegate 
        {
            public CalendarDelegate()
            {
            
            }
            public override void calendarTapped(SFCalendar calendar, NSDate selectedDate, NSArray appointments)
            {
                base.calendarTapped(calendar, selectedDate, appointments);

                Console.WriteLine("Selected Date {0}", selectedDate);
            }
        }

Thank you for your support.

regards
Asad

Hemalatha Marikumar [Syncfusion]
Replied On August 19, 2016 11:12 AM UTC

Hi Asadullah,

Thanks for contacting Syncfusion Support.

We were unable to reproduce the reported issue " CalendarTapped event is not getting called" with the Syncfusion version 14.2.0.28 at our end. We have attached a sample to test the issue for your reference in the below location.

Link: http://www.syncfusion.com/downloads/support/forum/124184/ze/Testing-1864852646

Please check the sample and if the issue still persists, update the modified sample or the replication procedure and also update the Syncfusion version you have used to analyze further.

Regards,
Hemalatha M.R.

ASADULLAH
Replied On August 19, 2016 04:24 PM UTC

Page not found.

ASADULLAH
Replied On August 19, 2016 04:41 PM UTC

Besides that, I can only see version 26 on this link:

https://www.syncfusion.com/downloads/evalconfirmation

Please consider the screenshot attachment for more information.

Thanks

Attachment: Screen_Shot_20160819_at_9.38.53_PM_631843d.zip

Hemalatha Marikumar [Syncfusion]
Replied On August 22, 2016 12:18 PM UTC

Hi Asadullah,

Thanks for your update.

Query: Besides that, I can only see version 26 on this link:

https://www.syncfusion.com/downloads/evalconfirmation

We provide only the Main release setups in our evaluation product downloads. Hence you were able to download the v14.2.0.26, since it is the Main release. If you need to download the service pack version v14.2.0.28, please use the below link and download the service pack.

Link: https://www.syncfusion.com/downloads/servicepacks/14.2.0.28

Query: CalendarTapped event is not getting called

Still we were unable to reproduce the reported issue "Calendar Tapped event is not firing" with Syncfusion Version 14.2.0.26 at our side. We have recorded the video while testing the issue with previously updated sample. Please download the video from the following link

Link: http://www.syncfusion.com/downloads/support/forum/124184/ze/ForumCalendarTap-971223489 

Note: We were unable to reproduce the reported issue in our latest version 14.2.0.28.

Please update the more details or modified sample to analyze further and provide an appropriate solution.

Regards,
Hemalatha M.R. 


ASADULLAH
Replied On September 20, 2016 08:12 PM UTC

Hello,

In my case, if someone wants to select more than 2 dates like one user selects 3 dates, I want to automatically deselect the first date, so that I can only want to select 2 dates.
I have used multiple selection mode and tried to use this method but in documentation, they said that CalendarTapped does work only in single selection mode.
Can you please help me as I am currently working on a project and struck with this scenario.

public override void CalendarTapped(SFCalendar calendar, NSDate selectedDate, NSArray appointments)

My problem is that I want to select only 2 dates and if any user selects more than 3 dates then automatically deselect the first date so that only 2 dates can be selected.
Can you suggest me any help.

Thank you for your time and cooperation.

Rajkumar Ganesamoorthy [Syncfusion]
Replied On September 21, 2016 04:18 PM UTC

Hi Asadullah ,

We have created a new support incident under your account to track the status of your latest query. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents 

Please let us know, if you have any query.

Regards,
Rajkumar G. 


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.

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

;