Found it!
After I clear the nodes I added a '.BeginUpdate() ' prior to the load subroutine.
Before exiting (after the nodes are loaded) I added a '.EndUpdate()' which seems to trigger a rendering event and redraws the control.
With those changes in place it works just fine.
User Profile
Collapse
-
Windows Treeview not rendering for single node
In my windows form project (VS2010) I have a treeview object that is populated based upon a drop down selection.
Initially when I have one node populated in the treeview (at startup) it displays fine. If I navigate away from that (by selecting another option) which has multiple nodes and it renders fine.
When I go back to the selection that has a single node it does not display at all. If I double click in the area...
No activity results to display
Show More
Leave a comment: