Hi everyone,
Within a Winform application, a treeview is contained in a User Control and
the User Control is then located within a splitview.
When the UserControl added some nodes into the Treeview, the treeview is not
displaying the added nodes, it just keep displaying the initial node added to
it during initallisation. Tried variious method like TreeView.Invalidate()
and TreeView.Update(). The code which adds nodes to the treeview is already
surrounded by TreeView.BeginUpdate() and TreeView.EndUpdate(). it is still
not displaying the new contents. However, if you ask it to display the number
of nodes in the tree, the Nodes.Count does indicate the new nodes are
inserted correctly.
Any ideas???