I have a RadTreeView that I am expanding by applying a style.
I am trying to display checkboxes next to items that meet a certain condition. To do this I am trying to hide the checkboxes on those elements that do not meet the condition.
I am hooking into the loaded event of my RadTreeView and trying to iterate down through the items, get the item container and hide the checkbox if necessary.
The problem I am having is that ContainerFromItemRecursive is returning null for any item that is not at the root level.
Here's my code.