We use Telerik UI for Winforms extensively in our Windows application. We have migrated almost all of our UI to use Telerik UI for Winforms but we were using a 2014 release of Telerik. Last month we updated to the latest (Q1 2022) Telerik UI for Winforms and began converting the last 3 major tree controls in our UI to use the RadTreeView. The biggest of these tree controls can have a lot of nodes. Some of our customers will exceed 750000 nodes in their installations.
We have found that when sorting is enabled, especially our custom sort which is necessary for our implementation, the tree control takes a VERY long time to load and also a very long time to repopulate when a leaf node with its children is removed and then re-added. Of note when we remove/re-add a leaf node is that if I put a breakpoint into our NodeComparer implementation I see that many nodes from all over the tree are being compared. The comparisons include nodes that are at the root of the tree and were not affected since the node(s) removed were 4 or 5 levels down and restricted in scope to just one sub-collection. I am very surprised that the RadTreeView re-sorts ALL of the tree nodes rather than just the nodes in the affected collection?
Are there ways to restrict sorting to just the collection affected by the addition/removal of a node?