12.2. Calendar

The Calendar control renders a calendar in the default month view mode. You can choose the view from four choices: Month view (default) showing all the days in the month; Year view, showing all the months in the selected year; Decade view, showing all the years in the selected decade; and Century view, showing the years in the selected century.

You only need to define a name for the calendar using the Name property to make it work; other properties allow you to define different behaviors. The following examples will show you how to work with them.

12.2.1. Defining the Date Range

Calendar has the MinDate and MaxDate properties that define the range of allowed dates that can be selected (and shown) in the control. Listing 11-1 ...

Get Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and Silverlight Projects 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.