Calendar.VisibleMonthChanged Event
.NET Framework 2.0
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)
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)
JScript supports the use of events, but not the declaration of new ones.
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.
| Topic | Location |
|---|---|
| How to: Control Month Navigation in a Calendar Web Server Control | Building ASP .NET Web Applications |
| How to: Control Month Navigation in a Calendar Web Server Control | Building ASP .NET Web Applications |
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.
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: