Dynamic Tree View Control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • avinashpagar
    New Member
    • Jan 2008
    • 1

    Dynamic Tree View Control

    Hi

    Can we add dynamiclly nodes and information in tree view control.
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    Yes, you can..
    This code will add to the root:
    [code=vb]
    TreeView1.Nodes .Add , tvwChild, , "New Root Node"
    [/code]

    This will add as a Child Node to selected node
    [code=vb]
    TreeView1.Nodes .Add TreeView1.Selec tedItem.Key,tvw Child, , "New Child"
    [/code]

    Regards
    Veena

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      Please find a related discussion here.

      Comment

      Working...