|
-
May 20th, 2005, 12:51 AM
#1
Thread Starter
Frenzied Member
TreeNodeTypes - ChildType
Object: Web TreeView Control
Code:
TreeNodeType myType = new TreeNodeType();
myType.CheckBox = true;
myTreeView.TreeNodeTypes.Add(myType);
myTreeView.ChildType = "myType";
I'm trying (in code) create a new treenodetype, add it to the treeview's treenodetype collection and then make the treeview use that nodetype
This does nothing to the treeview nodes, no matter if I add the nodes to the treeview before or after this code???
I'm looking for a way to make the ChildType work, as I need to write some test cases for it
Missing something?
-
May 21st, 2005, 03:16 AM
#2
Thread Starter
Frenzied Member
Re: TreeNodeTypes - ChildType
anyone?
I also tried to create a treenodetype in the propety window using the given type builder. When I try to select the new treenodetype as a childnodetype, it seems it is not accepted (nothing happens when i click it from the list of available types)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|