I have a treeview control embeded into a combobox. I am binding the tree to a sqldatasource, Then I select the first child node of the tree and set it as selected and this all works. What I haven't figured out is how to use the selected node of the tree and set the selected text/value of the parent combobox. I'm trying to do this server-side in c#.
Also I would like to have the tree expanded to show the branch of the tree that has the selected node. If the user selects the dropdown then the tree would show the highlighted selected node.
An example would be greatly appreciated.
Thanks,
Marc
Also I would like to have the tree expanded to show the branch of the tree that has the selected node. If the user selects the dropdown then the tree would show the highlighted selected node.
An example would be greatly appreciated.
Thanks,
Marc