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

OnPopupClosing

The OnPopupClosing client-side event handler is called immediately before a popup time view is closed.

The event handler receives two arguments:

  1. the object that fired the event.

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

NameReturn TypeArgumentsDescription
get_popupControl()Time view client objectReturns the client object for the time view that is about to close.
set_cancel(value)boolLets you prevent the popup from closing.

The following example uses the OnPopupClosing event to prevent the popup from closing if nothing is selected:

ASPNET
<telerik:RadTimePicker RenderMode="Lightweight" ID="RadTimePicker1" runat="server">
    <ClientEvents OnPopupClosing="popupClosing" />
</telerik:RadTimePicker>		

See Also

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