New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnPopupOpening

The OnPopupOpening client-side event handler is called immediately before a popup monthyearview displayed.

The event handler receives two arguments:

  1. the object that fired the event.

  2. an event arguments object that exposes the following methods:

OnPopupOpening event arguments object

NameReturn TypeArgumentsDescription
get_pickerControl()RadMonthYearPicker client objectReturns the client object for the RadMonthYearPicker control.
set_cancel(value)boolLets you prevent the popup from appearing.

The following example uses the OnPopupOpening event to initialize the selection if the input area is empty:

ASPNET
<telerik:RadMonthYearPicker RenderMode="Lightweight" ID="RadMonthYearPicker1" runat="server"  >
    <ClientEvents OnPopupOpening="popupOpening" />
</telerik:RadMonthYearPicker>

See Also

In this article
See Also
Not finding the help you need?
Contact Support