New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnDateSelected
Updated on Oct 24, 2025
The OnDateSelected client-side event handler is called immediately after the value of the control's selection has changed.
The event handler receives two arguments:
-
the object that fired the event.
-
an event arguments object that exposes the following methods:
| Name | Return Type | Arguments | Description |
|---|---|---|---|
| get_oldValue() | string | Returns the old value of the control, formatted as a string. | |
| get_newValue() | string | Returns the new value of the control, formatted as a string | |
| get_oldDate() | Date object | Returns the old value of the control as a Date object. | |
| get_newDate() | Date object | Returns the new value of the control as a Date object. |
ASPNET
<telerik:RadMonthYearPicker RenderMode="Lightweight" ID="RadMonthYearPicker1" runat="server" >
<ClientEvents OnDateSelected="dateSelected" />
</telerik:RadMonthYearPicker>