System.Web.UI.WebControls Namespace Calendar Class
Returns a collection of System.DateTime objects representing days selected on the Calendar. This property is read-only.
[ VB ]
Public ReadOnly Property SelectedDates As SelectedDatesCollection
[ C# ]
public SelectedDatesCollection SelectedDates {get;}
[ C++ ]
public: __property SelectedDatesCollection* get_SelectedDates ( );
[ JScript ]
public function get SelectedDates ( ) : SelectedDatesCollection;
A SelectedDatesCollection that contains a collection of System.DateTime objects representing the days selected on the Calendar. The default is an empty collection.
If SelectionMode is set to CalendarSelectionMode.DayWeek or CalendarSelectionMode.DayWeekMonth, the collection can contain multiple dates.This property cannot be declared in an ASPX file.
Calendar Members