Click or drag to resize
DatePickerClientEventsOnPopupClosing Property
Gets or sets the name of the client-side event handler that is executed prior to closing the calendar popup.

Namespace: Kettic.AspNet.Controls.Calendar
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
public string OnPopupClosing { get; set; }

Property Value

Type: String

There can be some conditions you do want not to close the calendar popup on click over it. Then you should cancel the event either by return false; or set its argument args.CancelClose = true;

            <script type="text/javascript">
function Closing(sender, args)
args.CancelClose = true;
return false;
<kaxCln:KaxDatePicker ID="KaxDatePicker1" runat="server">
<ClientEvents OnPopupClosing="Closing"/>
            <script type="text/javascript">
function OnPopupClosing(datepickerInstance, args)

<kaxcln:KaxDatePicker ID="KaxDatePicker1" runat="server">
<ClientEvents OnPopupClosing="OnPopupClosing" />
See Also