That's a good idea.
Also What I tried, and so far it looks pretty good, is to select the first BO in that category when user clicks on the parent category node. Of course what users might think of this "feature" is another story
I have a TreeView on the form with categories as the most top nodes with children subnode. Each child node has a BO PK stored in the Tag property. When user clicks on a child node, I am changing the position of BO by calling .NavigateToPrimaryKey(pkId), and all data-binded controls get refreshed.
Everything works great, but when the user clicks the top node (main Category), I want to clear all data-binded controls to indicate that no object is selected. How can I do that?
I would think that something like: bo.Navigate(BusinessNavigationDirection.Absolute, 0); or bo.Navigate(BusinessNavigationDirection.Absolute, -1) would work, but it has no effect on BO position.
Thank you
Hi Leonard,
I am not sure how you can do it the way you want it, but if you use an SP PanelManager, you can have 2 panels, one for the Top nodes with any message that will indicate the user that it iis on a Top node and one for children with all field details, then in your TreeView you control which panel to display based on the user selecting a Top or Child node.