Hi,
I have a requirement to have a node with child nodes but for the child nodes not to be made visible to the user. It is really to keep the whole structure in the same place. I thought by making all child nodes and/or leaves visible=false this would mean that the parent node would not have an expand/collapse icon but this was not the case.
For example:
Root
Node A
Section 1 (visible=false)
Part 1 (visible=false)
Part 2 (visible=false)
Section 2 (visible=false)
Part 1 (visible=false)
Part 2 (visible=false)
Part 3 (visible=false)
Part 4 (visible=false)
I was expecting that "Node A" would not have expand/collapse as nothing was visible below it.
I found another forum entry that seemed to cover this but the attribute is no longer available;
"Disable expand icon and labeledit" - Jun 27, 2007
Thanks,
Graham
I have a requirement to have a node with child nodes but for the child nodes not to be made visible to the user. It is really to keep the whole structure in the same place. I thought by making all child nodes and/or leaves visible=false this would mean that the parent node would not have an expand/collapse icon but this was not the case.
For example:
Root
Node A
Section 1 (visible=false)
Part 1 (visible=false)
Part 2 (visible=false)
Section 2 (visible=false)
Part 1 (visible=false)
Part 2 (visible=false)
Part 3 (visible=false)
Part 4 (visible=false)
I was expecting that "Node A" would not have expand/collapse as nothing was visible below it.
I found another forum entry that seemed to cover this but the attribute is no longer available;
"Disable expand icon and labeledit" - Jun 27, 2007
RadTreeNode node = this.radTreeView1.Nodes[0].Nodes["Search Folders"]; |
node.StateImageIndex = -1; |
Thanks,
Graham