We have implemented the tree view inside a buttonwood as it is specified here:
http://blogs.telerik.com/valerihristov/posts/10-05-12/treeview-in-combobox-with-radcontrols-for-silverlight-or-wpf-final-take.aspx
The question I have is how can we preselect externally (by clicking another button) an item and appear selected in the dropdown.
We have tried with:
trViewDates.ExpandItemByPath(........., "|");
trViewDates.ContainerFromItemRecursive(..............).IsSelected = true;
but this will not work as the trViewDates.ContainerFromItemRecursive(..............). returns null if the dropdown is not selected and opened.
In our case we want to preselect from an external control event.
http://blogs.telerik.com/valerihristov/posts/10-05-12/treeview-in-combobox-with-radcontrols-for-silverlight-or-wpf-final-take.aspx
The question I have is how can we preselect externally (by clicking another button) an item and appear selected in the dropdown.
We have tried with:
trViewDates.ExpandItemByPath(........., "|");
trViewDates.ContainerFromItemRecursive(..............).IsSelected = true;
but this will not work as the trViewDates.ContainerFromItemRecursive(..............). returns null if the dropdown is not selected and opened.
In our case we want to preselect from an external control event.