ASPxClientHintOptions.onHiding Event
A handler for the ASPxClientHint.Hiding event.
Declaration
onHiding: ASPxClientEvent<ASPxClientHintHidingEventHandler>
Event Data
The onHiding event's data class is ASPxClientHintHidingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
cancel | Gets or sets a value indicating whether the event should be canceled. |
contentElement | Gets the object that is the hint’s content. |
hintElement | Gets the object that is the hint element. |
targetElement | Gets the object that is the hint’s target element. |
titleElement | Gets the object that is the hint’s title. |
Remarks
The onHiding handler raises when the hint is about to be hidden. The onHiding handler allows processing the custom logic before hiding the hint and/or cancel hiding.
ASPxClientHint.Register(
'target_element_selector',
{
onHiding: function (sender, args) {
//custom logic
args.cancel = true;
}
);
See Also