Selected Node count , client side

2 posts, 0 answers
  1. Manoj
    Manoj avatar
    75 posts
    Member since:
    Dec 2008

    Posted 16 Mar 2009 Link to this post

    Hi Team,
             I am trying to get the seected node count . to captuer this I have used the bellow code snipet . But it is giving error as " Object doesn't support this property or method" .  Can you please tell why this is happening .


    onClientNodeClickedHandler(sender, eventArgs)




    var tree = <%= rtvDetailData.ClientID %>;



    var nodeCount = "";



    for (var i = 0; i < tree.GetSelectedNodes().length; i++)



    nodeCount += tree.GetSelectedNodes()[i].Text +

    ", ";






  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 16 Mar 2009 Link to this post

    Hello Manoj,

    I strongly recommend you review the client-side programming help topics for RadTreeView:
    RadTreeView client-side API
    RadTreeNode client-side API

    Dealing with selected nodes is covered in the RadTreeView client-side API section.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top