Kentico Calendar from Data Source

For a project I have been working on at home, I was looking for a way to mark events on a calendar. There are a couple different web parts that could be used to do this already built into Kentico, but those web parts only allow me to display data that is stored in the content tree. My data was being stored in a custom table, and it did not make sense to move it from the custom table into the content tree.

To get around this, I created a custom web part which would create a calendar and display the results of a query (through a Data Source). By enabling the update panel, this has created a very smooth experience on the site for viewing sets of data in a calendar view.

Requirements

Kentico 8.0+

Installation Instructions

Kentico has documentation on installing web parts from a ZIP file.

Setup Instructions

  1. Create Data Source

  2. Enter the Date field

  3. Enter Transformation for items

  4. Enter transformation for days without item (optional)

Download

There are two places you can download the package:

Written on December 5th, 2014 by Dan Walker

Want to read more?

If you’ve enjoyed what you’ve seen so far, you might like some of my other posts. Visit the archive to see all of my past writings.

Blog Archive »
 

About the Author

Dan Walker is a programmer from Grand Rapids, MI. He works at Gordon Food Service.

More About Dan »

Get in touch