Populating the calendar

2 posts, 0 answers
  1. JD
    JD avatar
    14 posts
    Member since:
    Jun 2012

    Posted 23 Sep 2013 Link to this post

    I am trying to populate the calendar control with the following information

    List of dates that I have pulled back from the database, and with each date there is a set of events or text that I want to display. So it could be something like this.

    1. 9/23/2013
         Office Visits

    2. 9/30/2013
         Office Visits

    3. 10/3/2013

    And so on, and for each of these dates, I want to give the ability for the user to click on it and bring it to the page that I have associated with that date. I am doing this all through MVC, no client code for this time round, so I have everything coming back the way I want. Just not seeing how I can populate the calendar the way I want.

  2. Vladimir Iliev
    Vladimir Iliev avatar
    2156 posts

    Posted 25 Sep 2013 Link to this post

    Hi John,

    Basically you should customize the MonthTemplate of the Calendar to display your custom information from the model. You can check the demo below which contains code sample for ASP.NET MVC:

    Kind Regards,
    Vladimir Iliev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top