Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Calendar.VisibleMonthChanged Event

Occurs when the user clicks the next or previous month navigation controls on the title heading.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public:
event MonthChangedEventHandler^ VisibleMonthChanged {
	void add (MonthChangedEventHandler^ value);
	void remove (MonthChangedEventHandler^ value);
}
/** @event */
public void add_VisibleMonthChanged (MonthChangedEventHandler value)

/** @event */
public void remove_VisibleMonthChanged (MonthChangedEventHandler value)

In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.

This event is raised when the user clicks the next or previous month navigation elements on the title heading.

For more information about handling events, see Events and Delegates.

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

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft