ComponentOne Calendar for ASP.NET: Calendar Behavior > Calendar Selectors

Calendar Selectors

C1Calendar provides a weekday, weeknumber, and month selector to quickly select the weekdays, weeknumber, or all of the days of the month. You can specify whether you want to use all three selectors or only one or two of the three selectors by customizing the SelectionMode and ShowWeekNumbers properties.

Month Selector

When the month value is enabled for the SelectionMode property and the ShowWeekNumbers is enabled, the default, , MonthSelectorImage appears in the upper left corner of the month view. The month selector selects all of the days of the month when the mouse cursor is placed over it.

Weekday Selector

The weekday selector appears below the calendar title (or below the calendar header if it exists on the calendar). It represents the week day names, Sunday through Saturday, that appear horizontally above the calendar days.

You can use the weekday selector to select the weekdays in the calendar at run time if you enable the day and weekday values for the SelectionMode property.

Weeknumber Selector

When the ShowWeekNumbers is enabled for the calendar, the weeknumbers appear vertically on the left side of the calendar. The weeknumbers represent a week number for each week in the calendar month. In the calendar year there are a total of 52 weeks so the weeknumbers will range from 1 to 52.

You can use the weeknumber selector to select the weeknumbers in the calendar at run time if you enable the day and weeknumber values for the SelectionMode property. By default, only the day is enabled for the SelectionMode property.

To select a specific week on the calendar month, move your cursor over a week number.


Send comments about this topic to ComponentOne.
Copyright 1987-2010 ComponentOne LLC. All rights reserved.