7.17. Adding a Calendar Control
The Calendar control is the most visually elegant of the Web Forms controls. The SelectionMode property can be set in one of four modes:
None: The user can page through the Calendar by month but cannot make a selection.
Day: The user can page through and select any day of the Calendar by month.
DayWeek: The user can page through the Calendar by month. The user can either click on an individual day or select a week by clicking on an arrow placed in the leftmost column of the week.
DayWeekMonth: The same as DayWeek, except that the user can also select the entire month by clicking on the double array in the leftmost column of the row holding the days of the week.
Clicking on a day, a week arrow, or a month double arrow ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access