checking level of node

2 posts, 0 answers
  1. beeta one
    beeta one avatar
    63 posts
    Member since:
    Aug 2012

    Posted 15 Oct 2012 Link to this post

    How can i check whether the node is the last level child of the radtree view Thanks...
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 15 Oct 2012 Link to this post

    Hi Hash,

    Try the following code snippet to check whether the clicked RadTreeNode is the last level child of RadTreeView.

    C#:
    protected void RadTreeView1_NodeClick(object sender, Telerik.Web.UI.RadTreeNodeEventArgs e)
    {
     if (e.Node.Nodes.Count == 0)
     {
     }
    }

    Hope this helps.

    Regards,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top