Skip to main content

ASPxClientCalendar.ClearSelection Method

Deselects all the selected dates within the calendar.

Declaration

ClearSelection(): void

Remarks

Use the ClearSelection method to deselect all the dates currently selected within the calendar. After this method has finished, the ASPxClientCalendar.IsDateSelected method of all dates returns false and the ASPxClientCalendar.GetSelectedDates method returns an empty array.

This method is in effect only when multiple selection is enabled (the ASPxCalendar.EnableMultiSelect option is set to true). When multiple selection is disabled, the ClearSelection method does nothing.

See Also