Register   Login
     
  Categories  
  Archives  
  Authors  
  Blog  
05

Another aspect of Simple Calendar that I have been implementing is the layout of the calendar.

Currently the ASP.NET calendar control doesn't support databinding similar to other controls such as the Repeater, DataList, etc. This makes it difficult to change the layout of the calendar, and you are restricted to really inserting labels, etc through code in the ItemDataBound event.

Fortunately, there are a number of code samples out there to show how to provide a templating system for the calendar. So with the Simple Calendar source, you will see a control that allows you to bind data to a calendar with templates covering all aspects of the layout such as WeekHeader, WeekFooter, DayHeader, DayFooter, Event, etc.

Post Rating

Comments

rbinnington
# rbinnington
Monday, June 05, 2006 6:29 AM
I am very excited about this! Will this also allow you to represent multiple day events?
smcculloch
# smcculloch
Monday, June 05, 2006 6:33 AM
Yes, I am still playing around with the layout. Most calendars show an event for each day of the multi-day event.

I would like it if was a colspan accross multiple (but this will require some tweaking to what I have done so far).
lomaxx
# lomaxx
Monday, June 05, 2006 8:35 AM
one thing i have found lacking in calendar controls and their templating is the ease of setting up column / row widths and heights to suit the layout of your site, as well as a max calendar size. If you could implement these features that would be cool.
Will
Thursday, June 22, 2006 7:40 AM
The item sorely lacking in the standard DNN calendar is a functioning list view.

Truth be told, a true calendar view is a horrible way to display events. A simple list view is much easier to visually scan and to print and post on the refrigerator.

So I'll be interested to see if your module has a good list view.

Thanks
WB
caroig
# caroig
Tuesday, June 27, 2006 5:11 AM
I'm looking for a calendar that will, amongst other things, support a property rental.
Ideally it should have upto a year view available on a single page and would show availablility (free, pending, occupied per day - in blocks) and perhaps a background texture for low, medium and high season.

Post Comment

Name (required)

Email (required)

Website

Enter the code shown above: