Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi guys hope you can help me with this one, cant seem to find the error.... :)the tree generates like this- Nye transaktioner--Nye transaktioner---Nye transaktioner----Nye transaktioner-----Nye transaktioner------ An so on
public override void Render(ref XmlTree Tree) { Tree.treeCollection.Clear(); if (this.id == this.StartNodeID) { var newTransactions = XmlTreeNode.Create(this); newTransactions.NodeID = "10"; newTransactions.NodeType = "UniqueNewTransactions"; newTransactions.Text = "Nye transaktioner"; newTransactions.Icon = "newtransactions.gif"; newTransactions.HasChildren = true; newTransactions.Source = this.GetTreeServiceUrl(newTransactions.NodeID); newTransactions.Menu.Clear(); RootNodeActions.Clear(); //newTransactions.Menu = null; Tree.Add(newTransactions); } else if (this.id == 10) { var newTransactions1 = XmlTreeNode.Create(this); newTransactions1.NodeID = "UniqueNewTransactions1"; newTransactions1.NodeType = "UniqueNewTransactions1"; newTransactions1.Text = "Måneder"; newTransactions1.Icon = "newtransactions.gif"; newTransactions1.HasChildren = true; newTransactions1.Source = this.GetTreeServiceUrl(newTransactions1.NodeID); newTransactions1.Menu.Clear(); //newTransactions.Menu = null; Tree.Add(newTransactions1); } }
Hi Kasper
And how would you like it to be generated? And is the above making use of the Umbraco API?
/Jan
Yes iam making use of the umbraco APIThe tree should be generated like this
- Nye transaktioner-- Måneder
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco 4.6 multilevel custom section...
Hi guys hope you can help me with this one, cant seem to find the error.... :)
the tree generates like this
- Nye transaktioner
--Nye transaktioner
---Nye transaktioner
----Nye transaktioner
-----Nye transaktioner
------ An so on
Hi Kasper
And how would you like it to be generated? And is the above making use of the Umbraco API?
/Jan
Yes iam making use of the umbraco API
The tree should be generated like this
- Nye transaktioner
-- Måneder
is working on a reply...