Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to hide treeview node???

how to hide treeview node???

Scheduled Pinned Locked Moved C#
helptutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashion
    wrote on last edited by
    #1

    Hi, I m having problem in hiding node in treeview.. help pls.. Thanks

    A 1 Reply Last reply
    0
    • A ashion

      Hi, I m having problem in hiding node in treeview.. help pls.. Thanks

      A Offline
      A Offline
      azazel00
      wrote on last edited by
      #2

      I think you cant actually make a node not visible (as in dissapear it). What you can do, is remove it from the tree. If you need to reference this node later, you can store it in an ArrayList for later use. Best Regards, azazel

      A 1 Reply Last reply
      0
      • A azazel00

        I think you cant actually make a node not visible (as in dissapear it). What you can do, is remove it from the tree. If you need to reference this node later, you can store it in an ArrayList for later use. Best Regards, azazel

        A Offline
        A Offline
        ashion
        wrote on last edited by
        #3

        removing a node will not help me.. Actually i m loading XML in a treeview and i want to change the value of elements from textboxes.... so, i will be needing childnodes while clicking parentnode but i don't want to display them(childnodes) in treeview

        F 1 Reply Last reply
        0
        • A ashion

          removing a node will not help me.. Actually i m loading XML in a treeview and i want to change the value of elements from textboxes.... so, i will be needing childnodes while clicking parentnode but i don't want to display them(childnodes) in treeview

          F Offline
          F Offline
          FriendlyFiend
          wrote on last edited by
          #4

          Do'nt draw the childelements to the treeview, you can store them as XmlElements in the tag property of the parent node and retrieve it when you need

          A 1 Reply Last reply
          0
          • F FriendlyFiend

            Do'nt draw the childelements to the treeview, you can store them as XmlElements in the tag property of the parent node and retrieve it when you need

            A Offline
            A Offline
            ashion
            wrote on last edited by
            #5

            thanks....

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups