Back to Devexpress

ASPxClientCalendar.ClearSelection Method

aspnet-js-aspxclientcalendar-7678447b.md

latest1.2 KB
Original Source

ASPxClientCalendar.ClearSelection Method

Deselects all the selected dates within the calendar.

Declaration

ts
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

DeselectDate(date)

DeselectRange(start, end)

EnableClientSideAPI

Calendar

ASPxClientCalendar Class

ASPxClientCalendar Members