I have a simple project with a dropdownlist of items and a treeview. When an item is selected in the dropdownlist the treeview is populated. When I select an item from the dropdownlist, my tree populates as expected, but when I click on a node in the tree, nothing happens. If I click on the node again, then it selects the node as expected. Note that first click can be anywhere on the treelist component - its like I have to click on the component to seemingly "focus" it before the TreeView responds to clicks to select a node. I am using SelectionMode as Single and TreeView.OnItemClick to detect the selection, but it is clear the first click is ignored because the built-in selection highlighting does nothing on the first click and correctly changes the selection on subsequent clicks.
Is there some way I can get the TreeView to simply accept clicks for selection without clicking on the component to "focus" it first?
Here is my treeview reference:<TelerikTreeView Data="@treeItems"
OnItemClick="@(args => InvokeSelectedViewChanged((WellTreeItem)args.Item))">
<TreeViewBinding TextField="Name" ItemsField="Subitems"></TreeViewBinding>
<TreeViewBinding Level="1" TextField="Name"></TreeViewBinding>