This question is locked. New answers and comments are not allowed.
I'm having some trouble with the CheckedItems list. I'm creating and setting my ItemsSource which is a list of RadTreeViewItems. For certain nodes, I'm setting the IsChecked and IsExpanded properties. However when the control is displayed in the view, both of these properties are ignored. The nodes where IsExpanded is set to true are not expanded. When I expand them in the control, the Item that I set IsChecked is true IS actually checked. But the CheckedItems list is empty. I tried to programmatically add the item to the list before the control renders, but the the list is readonly. So my question is: If I can't do it programmatically, what has to happen in order for the items that are checked to show up in the checked items list? The majority of the time, our users will only look at the tree and use options that have been checked by default. i.e. our business case is, the view opens, it's checked nodes should show as checked, it's parent(s) should be expanded, and they click a button to submit the checked items in the tree. But it seems like you are requiring some sort of explicit interaction between the tree the and user.
I'm also finding some other weird behavior. When the tree is displayed and only the root nodes are visible; I can check one of those nodes and it appears that all of it's children are checked as well, which is the expected behavior; but again, the CheckedItems collection is empty. What is this property used for and how do I make it work that if an item is checked, it is in this collection?
I'm also finding some other weird behavior. When the tree is displayed and only the root nodes are visible; I can check one of those nodes and it appears that all of it's children are checked as well, which is the expected behavior; but again, the CheckedItems collection is empty. What is this property used for and how do I make it work that if an item is checked, it is in this collection?
Thanks for your help!!
???
???