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


The OnClientNodeChecked client-side event occurs after the end user selects a checkbox using mouse or keyboard. The node checked status returned by the node get_checked() function has now changed to reflect the new value. The action can longer be canceled.

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 clicked on node.

  • get_domEvent() retrieves a DOM event object of the node check.

The example below shows a message containing the text of a node and the checked state of its checkbox when checked/unchecked.

<telerik:RadTreeView RenderMode="Lightweight" ID="RadTreeView1" runat="server" CheckBoxes="true" OnClientNodeChecked="ClientNodeChecked">
function ClientNodeChecked(sender, eventArgs) {
    var node = eventArgs.get_node();

    alert("You have checked node " +
            node.get_text() +
            ". Current check state is: " +

See Also

In this article