This is a migrated thread and some comments may be shown as answers.

Calendar and Json API Url

3 Answers 23 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Patrice
Top achievements
Rank 1
Patrice asked on 23 Sep 2014, 03:25 PM
Hi 

I just want to know if it's possible to display appointment through Json API Url.

Best regards

3 Answers, 1 is accepted

Sort by
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.

 
0
Patrice
Top achievements
Rank 1
answered on 27 Sep 2014, 05:55 PM
hello 

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.

 
Tags
Calendar
Asked by
Patrice
Top achievements
Rank 1
Answers by
Ves
Telerik team
Patrice
Top achievements
Rank 1
Share this question
or