Newbie: Trouble accessing all nodes in a tree view

Discussion in 'ASP .Net Web Controls' started by clsmith66, Oct 27, 2004.

  1. clsmith66

    clsmith66 Guest

    I have a tree view in an ASP.NET application and I am having trouble
    accessing all the nodes in the list. My tree has a single root node named
    Clients. The root node contains multipule nodes each one representing a
    different client. Each client node has several child nodes for different
    application specific functions. The trouble I'm having is attempting to add
    a new node at a deep level on the tree. Every time I use
    tvClientMenu.Nodes() (tvClientMenu is the id of the tree view) the only node
    listed in the collection is the root node Clients. Is there any way to
    return all the nodes in the tree view, regaurdless of which level they're on,
    into a single collection?
     
    clsmith66, Oct 27, 2004
    #1
    1. Advertising

  2. clsmith66

    vbMental Guest

    How are you using a treeview in an ASP.NET application?

    "clsmith66" wrote:

    > I have a tree view in an ASP.NET application and I am having trouble
    > accessing all the nodes in the list. My tree has a single root node named
    > Clients. The root node contains multipule nodes each one representing a
    > different client. Each client node has several child nodes for different
    > application specific functions. The trouble I'm having is attempting to add
    > a new node at a deep level on the tree. Every time I use
    > tvClientMenu.Nodes() (tvClientMenu is the id of the tree view) the only node
    > listed in the collection is the root node Clients. Is there any way to
    > return all the nodes in the tree view, regaurdless of which level they're on,
    > into a single collection?
     
    vbMental, Oct 28, 2004
    #2
    1. Advertising

  3. clsmith66

    clsmith66 Guest

    It is the Microsoft IE Web Control tree view.

    "vbMental" wrote:

    > How are you using a treeview in an ASP.NET application?
    >
    > "clsmith66" wrote:
    >
    > > I have a tree view in an ASP.NET application and I am having trouble
    > > accessing all the nodes in the list. My tree has a single root node named
    > > Clients. The root node contains multipule nodes each one representing a
    > > different client. Each client node has several child nodes for different
    > > application specific functions. The trouble I'm having is attempting to add
    > > a new node at a deep level on the tree. Every time I use
    > > tvClientMenu.Nodes() (tvClientMenu is the id of the tree view) the only node
    > > listed in the collection is the root node Clients. Is there any way to
    > > return all the nodes in the tree view, regaurdless of which level they're on,
    > > into a single collection?
     
    clsmith66, Oct 28, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luis E Valencia

    How to Collapse all the nodes of a tree view?

    Luis E Valencia, Jun 1, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    916
    Luis E Valencia
    Jun 1, 2004
  2. Replies:
    0
    Views:
    350
  3. Sumz
    Replies:
    1
    Views:
    291
  4. raki
    Replies:
    1
    Views:
    1,195
    Alexey Smirnov
    Jun 24, 2009
  5. Eilsa@Office

    How to load all nodes in a tree but expand 2 level only?

    Eilsa@Office, Jul 27, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    129
    Eilsa@Office
    Jul 27, 2004
Loading...

Share This Page