This is a migrated thread and some comments may be shown as answers.
Calendar Appointment Renderer
1 Answer 38 Views
This is a migrated thread and some comments may be shown as answers.
Maher
Top achievements
Rank 1
Maher asked on 14 Oct 2015, 10:00 AM

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

1 Answer, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 14 Oct 2015, 12:01 PM
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
Asked by
Maher
Top achievements
Rank 1
Answers by
Jack
Telerik team
Share this question
or