Edit this page


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

Name Return Type Arguments Description
get_pickerControl() RadMonthYearPicker client object Returns the client object for the RadMonthYearPicker control.
set_cancel(value) bool Lets you prevent the popup from appearing.

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

<telerik:RadMonthYearPicker RenderMode="Lightweight" ID="RadMonthYearPicker1" runat="server"  >
    <ClientEvents OnPopupOpening="popupOpening" />
function popupOpening(sender, args) {
    alert("popup opening");

See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article