I have a treeview inside a RadComboBox. I can set the selected node by using this code:
And it works fine. The only problem is that the combo does not display the selected node.
If I expand the combo I see it has the correct node selected, but I want it to be shown on the top, when the combo is closed.
How can this be done?
Thank you.
tree.SelectedNodes.Clear();
RadTreeNode node = tree.FindNodeByValue(idtema.ToString());
if
(node !=
null
)
{
node.Selected =
true
;
}
And it works fine. The only problem is that the combo does not display the selected node.
If I expand the combo I see it has the correct node selected, but I want it to be shown on the top, when the combo is closed.
How can this be done?
Thank you.