Results 1 to 2 of 2

Thread: TreeNodeTypes - ChildType

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    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?

  2. #2

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    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
  •  



Click Here to Expand Forum to Full Width