Calendar Appointment Renderer

2 posts, 0 answers
  1. Maher
    Maher avatar
    1 posts
    Member since:
    Sep 2014

    Posted 14 Oct 2015 Link to this post

    Hi,

    I try to create a custom calendar renderer in my project like : http://docs.telerik.com/devtools/xamarin/controls/calendar/how-to/calendar-how-to-create-custom-renderer to change the color of the appointments.

    But i have some problem with IOS... I did not find how to get all events in the control , there is only " this.Control.EventsForDate()"  but you need to put a date on it. I don't see the light to do this :/

     

    Can someone help me please ?

     

    Thanks

  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 14 Oct 2015 Link to this post

    Hello Maher,

    Thank you for contacting us.

    TKCalendar for iOS does not persist any events. It uses the EventsForDate method of TKCalendarDataSource class in order to request events for particular date and display them. In this scenario you should create your own list with all events that should be presented in TKCalendar. Consider the CalendarWithEvents example in our SDK demo application where this scenario is demonstrated.

    If you need any further assistance, I would be glad to help.

    Regards,
    Jack
    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
  3. DevCraft banner
Back to Top