OnClientNodeClicked more values

2 posts, 0 answers
  1. chp
    chp avatar
    11 posts
    Member since:
    Oct 2012

    Posted 23 Feb 2009 Link to this post

    Hi, is it possible to give the OnClientNodeClicked event more values?

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Feb 2009 Link to this post


    The OnClientNodeClicked client-side event occurs when the end user navigates to a node using mouse or keyboard.

    The event handler receives parameters:
       1. The treeview instance that fired the event.
       2. Event arguments with function:
         a) get_node() retrieves a reference to the clicked on node.
         b) get_domEvent() retrieves a DOM event object of the node click.

    <telerik:RadTreeView ID="RadTreeView1" runat="server"  OnClientNodeClicked="ClientNodeClicked"

     <script type="text/javascript" language="javascript"
    function ClientNodeClicked(sender, eventArgs) 
       var node = eventArgs.get_node();     
       alert("You clicked " + node.get_text()); 


Back to Top