Click to See Complete Forum and Search --> : Tree View Control Expanding Problem
joy_priyank
February 7th, 2005, 11:33 PM
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.
JetDeveloper
February 7th, 2005, 11:56 PM
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.
joy_priyank
February 8th, 2005, 01:20 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.