Here is the situation. I have a RadDropDownButton, which uses a RadTreeView as its DropDownContent. The RadTreeView is setup to use Checkboxes, and those CheckBoxes are bound to the data objects as described in the documentation. (In other words, the data object has a bool called IsChecked, and the Checkbox is bound to that)
All of this works just fine, generally speaking.
The problem I'm having is that when I initially bind the TreeView, I need to get an accurate count of how many Checkboxes are selected.
This is causing a problem for me however, as the CheckBoxes don't actually bind until I click the RadDropDownButton and display the TreeView. At that point, the TreeView "kicks in" and everything binds. Prior to that, the Treeview. CheckedItems.Count == 0
How can I force the TreeView to complete the binding and give me an accurate CheckedItems.Count() without requiring the user to click the dropdown for that to happen?
All of this works just fine, generally speaking.
The problem I'm having is that when I initially bind the TreeView, I need to get an accurate count of how many Checkboxes are selected.
This is causing a problem for me however, as the CheckBoxes don't actually bind until I click the RadDropDownButton and display the TreeView. At that point, the TreeView "kicks in" and everything binds. Prior to that, the Treeview. CheckedItems.Count == 0
How can I force the TreeView to complete the binding and give me an accurate CheckedItems.Count() without requiring the user to click the dropdown for that to happen?