New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
OnClientShow
The OnClientShow client-side event occurs as the tooltip is displayed. The event cannot be canceled.
The event handler receives parameters:
-
The RadToolTip client instance that fired the event.
-
Event arguments.
In the example below, when the mouse passes over "Button1", clientShow()
displays an alert box with the text of the tool tip.
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>