I just want to know if it's possible to display appointment through Json API Url.
Best regards
3 Answers, 1 is accepted
0
Ves
Telerik team
answered on 26 Sep 2014, 02:12 PM
Hi Patrice,
There is no direct support for json API in RadCalendar. Nevertheless, you can just consume json, create appropriate objects and send them to RadCalendar as described in Displaying Appointments help topic.
Best regards,
Ves
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
I have a another question. is it possible to fill the box with color when I have an appointment. I meant color the days which you have an appointment. thanks
0
Ves
Telerik team
answered on 01 Oct 2014, 03:09 PM
Hi Patrice,
You can use the approach shown in this help topic: Special Days and Data Templates. Please, see the SelectTemplate method in WeekendDaySelector. Right after the first line you will be able to do something like this:
if (info.Appointments == null)
return this.NoAppointmentsTemplate
else
return this.AppointmentsTemplate
Best regards,
Ves
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.