ComponentOne Calendar for ASP.NET: Calendar Behavior > Calendar Dates > Disabled Dates

Disabled Dates

Setting the C1Calendar.DisableDates property causes a specific date to be disabled in the control.

Disable Dates

C1Calendar provides a C1Date Collection Editor where you can specify disabled dates for the calendar control. You can simply add or remove dates from the editor by clicking the Add or Remove button.

The following image represents the C1Date Collection Editor:

 

Accessing the C1Data Collection Editor

To access the C1Date Collection Editor, complete the following steps:

1.   Locate the DisableDates property from C1Calendar's Properties window.

2.   Click on the ellipsis button next to the DisableDates property.


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