ASPxClientHint.Hide(targetSelector) Method

Hides a hint window.

Declaration

static Hide(targetSelector: string | any): void

Parameters

Name Type Description
targetSelector string|any

Remarks

Use the Hide method to hide the hint window(s) related to the specified target or hint element(s).


var targetElement= document.getElementById("myTargetElementId");
ASPxClientHint.Hide(targetElement);

var option = {
  title: "<b>Ahtung!</b>",
  content: eventId,
  x: 100,
  y: 100,

  onShowing: function(sender, e) {
    ASPxClientUtils.AttachEventToElement(e.hintElement, "click", function() {
      ASPxClientHint.Hide(e.hintElement);
    });
  }
};
ASPxClientHint.Show(option);
See Also