# Events Overview

**RadToolTip** and **RadToolTipManager** both support the same client-side events that let you customize the behavior of the control:

* [OnClientBeforeShow](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/onclientbeforeshow) occurs just prior to the display of the tool tip.

* [OnClientShow](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/onclientshow) occurs as the tooltip is displayed.

* [OnClientBeforeHide](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/onclientbeforehide) occurs just prior to the tool tip being hidden.

* [OnClientHide](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/onclienthide) occurs as the tooltip is hidden.

To use these events, simply write a JavaScript function that can be called when the event occurs. Then assign the name of the JavaScript function as the value of the the corresponding property.

```ASP.NET
<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>
```

You can also assign event handlers in client-side code. For more information see the [Setting Event Handlers via JavaScript](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/setting-event-handlers-via-javascript) article.

For a live example illustrating the RadToolTip client-side events, see the [Client-side events](https://demos.telerik.com/aspnet-ajax/tooltip/examples/clientsideevents/defaultcs.aspx) live demo.

> tip The **RadToolTipManager** also offers three additional events that are specific for its Load-On-Demand functionaliaty:
>
> * OnClientRequestStart
> * OnClientResponseEnd
> * OnClientResponseError
>
> Read more about them in the [ToolTipManager Specific Events](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/tooltipmanager-specific/overview) help article.

## See Also

* [OnClientBeforeShow](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/onclientbeforeshow)

* [OnClientShow](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/onclientshow)

* [OnClientBeforeHide](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/onclientbeforehide)

* [OnClientHide](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/onclienthide)

* [ToolTipManager Specific Events](https://www.telerik.com/products/aspnet-ajax/documentation/controls/tooltip/client-side-programming/events/tooltipmanager-specific/overview)
