Is there any way to get FlyTreeView to automatically scroll to the selected node?
I've got a FlyTreeView with a height that's set and a lot of elements.
In the code to set this, I've tried:
flyTree.Height = Unit.Pixel(pixels);
flyTree.FocusNode = companynode;
companynode.Expand();
companynode.Selected = true;
Neither setting FocusNode nor setting the node's Selected attribute seem to work.
The node does look like it selected because it is the only node that is expanded...it's just that if this company is not at the top of the company node list, it won't show up until the user scrolls down :-P
Looks like I might be able to set the flyTree.ScrollTop but is there a way to have the flyTree set this automatically based on the selected node?