asp.net.ph

MonthChangedEventArgs Class

System.Web.UI.WebControls Namespace


Provides data for the VisibleMonthChanged event of a Calendar.

MonthChangedEventArgs Class Members

Collapse   Constructors

Visibility Constructor Parameters
public MonthChangedEventArgs ( DateTime newDate , DateTime previousDate )

Collapse   Properties

Visibility Name Value Type Accessibility
public NewDate DateTime [ Get ]
public PreviousDate DateTime [ Get ]

Remarks

The VisibleMonthChanged event is raised whenever the user clicks on the Calendar navigation controls to display the next or previous month.

For a list of initial property values for an instance of MonthChangedEventArgs, see the MonthChangedEventArgs constructor.

For more information about handling events, see Web Forms Events Model.

Example

The following example demonstrates how to specify and code a handler for the VisibleMonthChanged event to determine, and display in a Label, whether the Calendar has moved forward or backward one month.

 Show me 

See Also

Calendar   MonthChangedEventHandler 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