12355.4 I got a Syntaxis fault on the line "treeNode = treeNode.AOTnextSibling().AOTnextSibling();"

12355.4 I got a Syntaxis fault on the line "treeNode = treeNode.AOTnextSibling().AOTnextSibling();"

Post by QmFydFZlcm » Wed, 27 Apr 2005 09:38:45

I've got a syntaxisfault on the line
"treeNode = treeNode.AOTnextSibling().AOTnextSibling();"

technet.navision.com Posting date: Friday, April 22, 200

technet.navision.com Posting path: Navision Axapta/Technology (Ax)/Best Practices/How to ...

1. what is equivalent of vb.net treenode.nextnode property in asp.net webcontrols.treenode

2. Adding the same TreeNode to multiple TreeNodes

When I attempt to run the following code:

protected void NavigationTreeView_TreeNodePopulate(object sender,
TreeNodeEventArgs e) {
TreeNode tn1 = new TreeNode("node1","node1");
TreeNode tn2 = new TreeNode("node2", "node2");
TreeNode newNode = new TreeNode("add me to both nodes", "add me to
both nodes");

It does not behave as expected. Instead of adding a copy of newNode to each
of the other two nodes, it adds to tn1 and then when it adds it to tn2 it
removes it from tn1, thus in the end only tn2 has the newNode and tn1 has no
children. This surprises me. How can I add the same node to two separate
locations in a treeview?

3. Removing first TreeNode of TreeView removes all TreeNodes

4. Casting WebForm TreeNode ( TreeView ) to WinForms TreeNode

5. Getting the Tag Property for each child treenode

6. Getting the XY coordinates of a TreeNode in a TreeView

7. Getting treenode from layer

8. Getting back objects from treenode.tag

9. Treenode - line through it

10. Getting to the default "drag" cursor while dragging the TreeNode

11. Getting a TreeNode on a JTree

12. My I's are coming up i's. (lower case)

13. extending Treenode: how?

14. How to use OnClick Event vom TreeNode in Javascript

15. Multi Images in treenode