page 1 2 3

Showing events with the ASP.NET calendar control (page 1 of 3)

Events and meetings, there is nothing like showing these in a calendar. With ASP.NET, presenting a calendar control with lots of built-in functionality can be as easy as one line code.

The ASP.NET calendar control is highly customisable and the one shown below shows events which are stored in a SQL Server database. It has the following features:

  • Clear variations in today's date, selected date and meeting dates
  • Only relevant dates are links (clickable)
  • The tool tip property is used effectively: hover with the mouse over an event date to find out what's on!
  • Fast loading time: a calendar like this is typically shown on a homepage. Therefore all dates and events are read from an application array variable, which is much more efficient than reading from a database all the time. Only when the user clicks on a date, a database connection is made.
  • When the calendar fires up, always the first upcoming event is mentioned, which is a nice way to give your website an up to date feel.
  • Event descriptions in the past are mentioned in light grey, rather than black.

Of course events can be added / adjusted in an administration area (check out page 2).

 

The similarities between music and web design

Less is more! As a musician, I heard this phrase a lot, and the same is true for web design.
Here are some don'ts in web design. Complete with real life examples, read more...

An on-line moving diary

Imagine you need to schedule many shipments, all with a set pick-up and delivery date. This example shows how you can display a day to day diary, mentioning each shipment, ideal for transport planning purposes.
More...

case studies

Update the events calendar!

Normally you would log in to an administration area - to keep things simple just click here to go to page 2.

Username:
Password:
 

ASP.NET book:

ASP.NET can be a daunnting experience at first for classical ASP developers. I found this book particulary useful, and easy to read!
Build Your Own ASP.NET Website Using C# & VB.NET