NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Controlling User Date Selection

You can specify that users can select individual days, individual weeks, or an entire month in the Calendar Web control. Alternatively, you can disable day selection altogether.

To control user date selection

When selection is enabled, whenever the user selects a day, week, or month, the form is submitted and an event is raised for which you can create a handler. For details, see Responding to Date Selection.

To allow the user to select a date, the calendar is displayed with links. Individual days contain a link with the date number. If you set the calendar to allow users to select a week or the whole month, an extra column with selection links is added to the left of the calender.

Note   You can also control date selection for individual days. For example, you might specify that users can click on specific days of the month, such as holidays. For details about customizing days in this way, see Customizing Individual Days.

You can specify the text for the week and month selection links.

To specify week and month selection link text

See Also

Using the Calendar Web Control