I was expecting that calling AddNodeByPath would automatically create the necessary parent nodes similar to how Directory.Create() works.
However, it just seems to add them all to the closest node it could find (if there are no nodes, then a bunch of "Report.txt" will be in the root node).
I have come up with the following to solve this issue, but I'm wondering if there's an easier way?
(path == String.Empty)
node = Path.GetFileName(path);
RadTreeNodeCollection parent = AddNode(Path.GetDirectoryName(path));
Is this a bug, or is it documented somewhere that AddNodeByPath() doesn't create the necessary parent nodes?