
Move Treeview Child Node To Different Parent
How can I move a Child Node to a different parent and force the parent of
the parent to refresh so that the original parent of the child is deleted if
it is the only child node for the parent, and a new parent for the child is
created and the child is selected under the new parent.
Example:
Agent
Steve
Child 1
change property on Child 1 record to be Dave instead of Steve. Now want
Agent
Dave
Child 1
Other scenario would be
Agent
STeve
Child 1
Child 2
Dave
Child 1
Moving Child 2 to Dave would result in
Agent
Steve
Child 1
Dave
Child 1
Child 2
Any coding examples showing order of steps would be appreciated.
Thanks
Steve