I know that when you select a node this event is called.
If you select another node, it is called TWICE.
Is there a way to know which it is calling it for (Unselecting or Selecting).
This way I can skip code on the unselecting one and only do code on the newly selected node.
1 Answer, 1 is accepted
answered on 18 Feb 2022, 01:02 PM
By design, when multiple selections are allowed and you click a new node, the selection is supposed to be cleared. That is why the SelectedNodeChanged event is fired for the previously selected node first and then it is fired for the new node. In the RadTreeViewEventArgs you can distinguish the two event firings by the Action which is set to Unknown when the selection is cleared.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.