ComponentOne Calendar for ASP.NET Web Forms
Behavior / Calendar Dates / Disabled Dates
In This Topic
    Disabled Dates
    In This Topic

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

    Disable Dates

    C1Calendar provides a DateTime 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 DateTime Collection Editor:

    Accessing the DateTime Collection Editor

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

    1. Locate the DisabledDates property from C1Calendar's Properties window.
    2. Click on the ellipsis button next to the DisabledDates property.
    See Also