I have a TreeView where the node keys are dynamically created. The key is basically the ParentNode.Text_Node.Text so if the structure looked like this:
Node1
|_Sub1
The Key for Sub1 would be "Node1_Sub1". This TreeView also has the ability of having nodes being created on the fly through Drag and Drop. I need to be able to get the key of a highlighted node, which I can already do, parse it to get only the portion after the "_" and then compare it to the text of the node being created if the drop were commensed. Does this make sense? I need to be able to make sure that the node that will be created isn't the same as the node it's being created under. Thanks, Jeremy




Reply With Quote