The selection process in RadTreeView
includes unselecting the previously selected nodes first and then making selection for the new nodes. This means that the SelectedNodesChanged
event will be fired once for each selection process for the respective node. Consider that we have a RadTreeView
will no selected nodes. Then, click Node2
. It gets selected and the SelectedNodesChanged
event will be fired once for Node2
(selected). Then, if you click Node4
while pressing the Shift key, this will clear the previously available selection and select the new nodes. The SelectedNodesChanged
event fill be fired once for each node that is previously selected, Node2
in this case. Then, it will perform the multiple selection while keeping pressed the Shift key. Thus, the SelectedNodesChanged
event will be fired three times, once for Node2
(selected), once for Node3
(selected) and once for Node4
(selected). The attached gif file illustrates better the behavior.
If the selection behavior in RadTreeView
doesn't suit your scenario or somehow it breaks the correct execution of your application, it would be greatly appreciated if you can give us some more details about the exact requirement that you are trying to achieve and how does the selection process affect it. Thus, we would be able to think about a suitable solution and assist you further. Thank you in advance.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.