Tkclalendar deslect date in range made/multiple mode

2 posts, 0 answers
  1. avinash
    avinash avatar
    6 posts
    Member since:
    Dec 2018

    Posted 09 Jan 2019 Link to this post


    I am using Range mode for Tkclalendar in xamarion.iOS app . I have been using  custom cell  as per documentation and facing few issues as below.

    1. How do I deselect or undo the selected date?

    2. When in range mode if I need to select single date ,How could it achieved?

    Please provided any way to make it work?



  2. Didi
    Didi avatar
    334 posts

    Posted 11 Jan 2019 Link to this post

    Hi Avinash,

    I am glad to hear that you are using our Calendar control for Xamarin.iOS.

    Let me get straight to your questions:

    1) Deselect the Selected Date:

    The TKCalendar control does not provide this functionality out of the box. In order to deselect the selected date you could use a button. On its TouchUpInside event set the SelectedDate = null.

    2) TKCalendar SelectionMode.Range:

    Regarding to the range selection mode you could check the following article in our native documentation: Calendar: Selection. Also you can take a look at our native developer focused examples for Xamarin.iOS. For more information please refer to the following article from our documentation: Developer Focused Examples.

    Please review the attached project how the deselection and selectionmode - range are implemented and let me know if you have any additional questions.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top