Calendar and Json API Url

4 posts, 0 answers
  1. Patrice
    Patrice avatar
    7 posts
    Member since:
    Jun 2014

    Posted 23 Sep 2014 Link to this post

    Hi 

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

    Best regards
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 26 Sep 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. Patrice
    Patrice avatar
    7 posts
    Member since:
    Jun 2014

    Posted 27 Sep 2014 in reply to Ves Link to this post

    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
  5. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 01 Oct 2014 Link to this post

    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.

     
Back to Top
DevCraft banner