472,353 Members | 945 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

TreeView in WinForms 2.0 dosen't update itself when nodes are adde

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???
Nov 28 '05 #1
0 1403

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Casper JH Erasmus | last post by:
How do I save the contents of a TreeView to a XML Document?
3
by: Hazz | last post by:
I am just beginning to design a Treeview display (winforms) for wine regions. Problem. Some wine growing regions belong to two counties. Eg....
2
by: Ernest Cook | last post by:
Does anyone have any real world experience using the .Net version of the treeview control? If so, Can you recommend any good documentation sources...
3
by: Jan Wrage | last post by:
Hi! I would like to implement a treeview in my existing application. It should show my entire Active-Directory structure, i.e. all Groups,...
0
by: Andrew Ducker | last post by:
Nodes display as whitespace when scrollable is set to false, and more nodes are cleared and recreated than will fit into the space available. ...
2
by: Tymbow | last post by:
I'm building a web application that is analogous to the Windows XP file explorer in function. The left column contains a TreeView, and the right...
1
by: echuck66 | last post by:
Hi, I have a Winforms 2.0 project that I'm working on that involves populating a treeview control from data contained in a fairly large dataset...
2
by: =?Utf-8?B?QU5V?= | last post by:
I have a tree view which i load completely at the time of my webpage load. When i click on the + signs of the parent nodes, it expands to show all...
4
by: frostbb | last post by:
I have a C# WinForms treeview with 20 or so 'level 0' nodes. My users will normally have 2 of the 'level 0' branches open down to a '5th level'...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.