Count selected nodes

3 posts, 0 answers
  1. Luca Fumagalli
    Luca Fumagalli avatar
    7 posts
    Member since:
    Aug 2009

    Posted 10 Sep 2009 Link to this post

    Dear Sirs,

    i need to count the selected nodes on my treeview.
    can you show me an example using VB code, please?
    many thanks in advance

    Luca
     
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Sep 2009 Link to this post

    Hi Luca,

    The code snippet, RadTreeView1.SelectedNodes.Count  will return the number of selected nodes in RadTreeView.

            Dim count As Integer = RadTreeView1.SelectedNodes.Count

    Thanks,
    Princy.
  3. Luca Fumagalli
    Luca Fumagalli avatar
    7 posts
    Member since:
    Aug 2009

    Posted 10 Sep 2009 Link to this post

    Many, many many many thanks :)
Back to Top