Skip to main content

ASPxClientHintOptions.onShowing Event

A handler for the ASPxClientHint.Showing event.

Declaration

onShowing: ASPxClientEvent<ASPxClientHintShowingEventHandler>

Event Data

The onShowing event's data class is ASPxClientHintShowingEventArgs. 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.
targetElement Gets the object that is the hint’s target element.
titleElement Gets the object that is the hint’s title.

Remarks

The onShowing handler raises right after the hint’s main element is created but before this hint is actually shown. The onShowing handler allows processing the custom logic during the hint’s content generation.

ASPxClientHint.Register(
  'target_element_selector', 
  {
    onShowing: function (sender, eventArguments) { /*...*/ },
  }
);
See Also