System.Web.UI.WebControls.MonthChangedEventArgs.PreviousDate Property

Gets the date that determines the previously displayed month in the System.Web.UI.WebControls.Calendar control.

Syntax

public DateTime PreviousDate { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to determine the previously displayed month on the System.Web.UI.WebControls.Calendar control. You can restore the System.Web.UI.WebControls.Calendar control to the previously displayed month by setting the Calendar.VisibleDate property to MonthChangedEventArgs.PreviousDate.

This date is normally the first date of the previously displayed month; however, it can be programmatically changed to any date within the month.

The Calendar.VisibleDate property is updated to the date in this property before the Calendar.VisibleMonthChanged event is raised.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0