New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


The OnClientMouseOut client-side event occurs just before the mouse passes out of a node.

The event handler receives parameters:

  1. The TreeView instance that fired the event.

  2. Event arguments with functions:

  • get_node() retrieves a reference to the node.

  • get_domEvent() retrieves a DOM event object of the mouse movement.

The example below retrieves node text just before the mouse passes out of the node area. The text is displayed in a div.

<telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" runat="server" OnClientMouseOut="ClientMouseOut">
<br />
<div id="myDiv" style="width: 489px; height: 100px">
function ClientMouseOut(sender, eventArgs) {
    var node = eventArgs.get_node();
    var myDiv = document.getElementById("myDiv");
    myDiv.innerHTML = "OnClientMouseOut: " + node.get_text();

See Also

In this article