asp.net.ph

Calendar.SelectedDates Property

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;

Property Value

A SelectedDatesCollection that contains a collection of System.DateTime objects representing the days selected on the Calendar. The default is an empty collection.

Remarks

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.

See Also

Calendar Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note