Hi, I have I TreeViewAdv control with ~5 thousands nodes and 6 levels of nesting. I also have a a quick search functionality, so that when user types a search string in TextBox, I hide the root node, and dynamically populate another node with search result. When user clears the textbox I remove dynamically added node and display original node. I hide the TreeNodeAdv by setting 2 properties node.Expanded = false and Node.Height = 0 (I found the approach somewhere in the forum).
Now the issue that bothers me: it takes ~1 sec to collapse the root node (Node.Expanded = false line), which makes the search functionality unresponsive. Is there a way to reduce this delay? I already tried changing TreeViewAdv.RecalculateExpansion and TreeViewAdv.SuspendExpandRecalculate properties without significant difference. I also make all the manipulations with nodes within BeginUpdate / EndUpdate calls.
Thanks,