Calendar.SelectionChanged Event
.NET Framework 3.0
Occurs when the user selects a day, a week, or an entire month by clicking the date selector controls.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: event EventHandler^ SelectionChanged { void add (EventHandler^ value); void remove (EventHandler^ value); }
/** @event */ public void add_SelectionChanged (EventHandler value) /** @event */ public void remove_SelectionChanged (EventHandler 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 selects a day, a week, or an entire month by clicking the date selector controls.
For more information about handling events, see Events and Delegates.
| Topic | Location |
|---|---|
| Walkthrough: Creating a Basic Web Page in Visual Web Developer | Building ASP .NET Web Applications in Visual Studio |
The following code example demonstrates how to specify and code a handler for the SelectionChanged event to display the number of items selected in the Calendar control.
Community Additions
ADD
Show: