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

Populating the calendar

1 Answer 60 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
JD
Top achievements
Rank 1
JD asked on 23 Sep 2013, 02:45 PM
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
     Labs


2. 9/30/2013
     Office Visits


3. 10/3/2013
     Labs

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.

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 25 Sep 2013, 11:10 AM
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
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Calendar
Asked by
JD
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or