Edit this page


The OnClientBeforeHide client-side event occurs just prior to the tool tip being hidden. The event can be canceled.

The event handler receives parameters:

  1. The RadToolTip client instance that fired the event.

  2. Event arguments with method:

    • set_cancel(): call this method to cancel the event.

In the example below, when the mouse passes out of "Button1", the clientBeforeHide() method calls set_cancel()and the OnClientHide event is prevented from firing. The effect is that the tool tip remains on the screen.

<script type="text/javascript">
    function clientHide(sender)
        alert("OnClientHide tool tip: " + sender.get_text());
    function clientBeforeHide(sender, eventArgs)
<telerik:RadToolTip RenderMode="Lightweight" ID="RadToolTip1" runat="server" Skin="Inox" TargetControlID="Button1"
    IsClientID="true" OnClientBeforeHide="clientBeforeHide" OnClientHide="clientHide"

See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article