Introduction to the Calendar Control

In the previous chapters, you've seen how ASP.NET simplifies a lot of tasks that were code-intensive in previous versions of ASP. Perhaps no other control included in ASP.NET illustrates this point better than a databound calendar. For most developers, the amount of code and intermingled HTML involved for such a job in ASP justified the purchase of a third-party server component. Now ASP.NET brings to Web development the GUI manipulation of date values that VB, C++, and Java developers have always enjoyed. However, as you will find out, the ASP.NET Calendar control doesn't forfeit any of the fine-grain layout and display control Web developers take for granted.

Let's begin with a simple example by adding the ...

Get ASP.NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.