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. Web Development
  3. ASP.NET
  4. TreeView

TreeView

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-net
4 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.
  • S Offline
    S Offline
    sunil kumar verma
    wrote on last edited by
    #1

    Hi, I am using a TreeView control in the ASP.NET 2.0 my problem is that I am passing a TreeNode value from one function to the other and I have to add some child node to that node whose value i have passed. I am not getting how I add child nodes to the parent node whose only value is known. Please help me in this regards, Thanks

    S S 2 Replies Last reply
    0
    • S sunil kumar verma

      Hi, I am using a TreeView control in the ASP.NET 2.0 my problem is that I am passing a TreeNode value from one function to the other and I have to add some child node to that node whose value i have passed. I am not getting how I add child nodes to the parent node whose only value is known. Please help me in this regards, Thanks

      S Offline
      S Offline
      Shoaib Hussain
      wrote on last edited by
      #2

      your question is not much clear. If u explain it in more detailed, may i or some one other person will be in poition of solving this problem

      -<>-shoaib-<>-

      S 1 Reply Last reply
      0
      • S sunil kumar verma

        Hi, I am using a TreeView control in the ASP.NET 2.0 my problem is that I am passing a TreeNode value from one function to the other and I have to add some child node to that node whose value i have passed. I am not getting how I add child nodes to the parent node whose only value is known. Please help me in this regards, Thanks

        S Offline
        S Offline
        sidbaruah
        wrote on last edited by
        #3

        Try this string treeNodeValue="value of the tree node"; int intTreeCount=0; foreach (TreeNode tn in TreeView1) { if (TreeView1.Nodes[intTreeCount].Value == treeNodeValue) { Code for Adding child nodes here... } intTreeCount++; }

        I was born dumb!! :laugh:Programming made me laugh:laugh:!!! --sid--

        1 Reply Last reply
        0
        • S Shoaib Hussain

          your question is not much clear. If u explain it in more detailed, may i or some one other person will be in poition of solving this problem

          -<>-shoaib-<>-

          S Offline
          S Offline
          sunil kumar verma
          wrote on last edited by
          #4

          Hi Shoaib, Thanks for quick reply.I have solved that problem,but i have another problem.I am using a COM dll in my ASP.NET 2.0 application.I have added it through Add Reference. I am developilng a Web Service, when I am using that from web application I am getting the following error Creating an instance of the COM component with CLSID {1FF3BBCC-CE35-47DD-BA47-EFD2B93AF2EC} from the IClassFactory failed due to the following error: 80010105. Can you help me in this regards? Thanks sunil

          Sunil kumar verma Software Engineer

          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