CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2004
    Posts
    13

    Post Tree View Control Expanding Problem

    Hello dear all

    now i am working C# technology and i am developing a application software. i am using a tree view control and having one problem in tree viwe control when i have expand all the node and if tree is refersh then all expained node colleps

    Please help how we can expand again all node after referesh the tree view control by programming.

  2. #2
    Join Date
    Aug 2004
    Location
    Land of sunshine and June Gloom
    Posts
    171

    Re: Tree View Control Expanding Problem

    Quote Originally Posted by joy_priyank
    Hello dear all

    now i am working C# technology and i am developing a application software. i am using a tree view control and having one problem in tree viwe control when i have expand all the node and if tree is refersh then all expained node colleps

    Please help how we can expand again all node after referesh the tree view control by programming.
    Save the text (or some unique atttribute) of the nodes you expanded in an array list and then use the TreeNode.Expand function on those nodes when you refresh the tree view.

  3. #3
    Join Date
    Nov 2004
    Posts
    13

    Re: Tree View Control Expanding Problem

    yes you are right but in my tree view many node and they have again many child i want to expand those node only has expanded and how can i store a value in array variable

    i have store true and false value in bool type of array variable but i can't get the total number of node so i can't store value in bool array type of variable

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured