Edit this page

OnClientShow

The OnClientShow client-side event occurs as the tooltip is displayed. The event cannot be canceled.

The event handler receives parameters:

  1. The RadToolTip client instance that fired the event.

  2. Event arguments.

In the example below, when the mouse passes over "Button1", clientShow() displays an alert box with the text of the tool tip.

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

See Also