Nov 19, 2010, 8:56 AM
How to add a treenode as selectednode children in codebehind
Hi,
I need to add a treenode as selectednode children from database in the codebehind with a button clicked,but in directevent ,i can't get the selectednode which can append the child.Like this code
var selectedNode = ((DefaultSelectionModel)treeCatalog.SelectionModel .Primary).SelectedNode
i get the selectednode id,but there are no method to add child
Did any one can help it?
I need to add a treenode as selectednode children from database in the codebehind with a button clicked,but in directevent ,i can't get the selectednode which can append the child.Like this code
var selectedNode = ((DefaultSelectionModel)treeCatalog.SelectionModel .Primary).SelectedNode
i get the selectednode id,but there are no method to add child
Did any one can help it?