jao
jao

Reputation: 18610

Fill a calendar with appointments

In .NET MVC (C#) I need to create a calendar and fill it with events that come from a database. Most events are spread over multiple days.

What is the best approach to create such a calendar? Does a calendar control exists which takes some input arguments and can do the work for me?

Upvotes: 0

Views: 2937

Answers (2)

James H
James H

Reputation: 2401

Based on your description, the DayPilot Lite calendar control from DayPilot.org looks promising (it renders an outlook style day-at-a-glance hourly view): http://www.daypilot.org/

Sample output: http://blogs.teamb.com/files/2009/05/daypilot_1274.png

Here's a corresponding blog/tutorial (with a downloadable code) on how to use the control with ASP.NET MVC: http://blogs.teamb.com/craigstuntz/2009/05/12/38297/

Upvotes: 3

Marc Gravell
Marc Gravell

Reputation: 1062520

What sort of display are you after? Some searching shows a viable jQuery-based gantt here (jquery.gantt). ILOG do a range of outlook-style calendar and gantt (task-based) / schedule (resource-based) controls for both winform and web, but they aren't free, and the web bits are currently non-MVC.

So; what sort of display are you after?

Upvotes: 0

Related Questions