We set TreeView's data source in a code behind using ItemsSource property. There is NO data load on demand, everything is already in source object. I can NOT go through all RadTreeViewItems (getting null) in a code behind, until user expands all them. This behaviour explained here: http://www.telerik.com/help/silverlight/radtreeview-how-to-iterate-through-treeviewitems.html, but no solution offered.
None of the following methods work for me until user expands appropriate treeview node: ContainerFromIndex
. I also tried do as described here: http://www.telerik.com/community/forums/silverlight/treeview/radtreeviewitem-expand-and-select.aspx. It did not help.
Could you please explain me how can I do this simplest elementary thing as move through all the RadTreeViewItems not making user expand every node in a tree?
Thanks in advance