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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph