Hello sir,
I want to search for nodes from the text given in textbox1.
After the search i want only those nodes to be displayed in treeview.
bharanidharanit
-4
Junior Poster
Recommended Answers
Jump to PostA treeview control shows items hierarchically. If you remove (there's no visible property in the node items) a node, have you thought what to do with the possible child nodes?
After you've figured that out, loop the nodes and remove non-matching nodes with
TreeView1.Nodes.Remove
method.If you …
Jump to PostEnsureVisible method should show and expand the tree to the selected node. It seems that it doesn't work as it is documented.
Here's a code that works with two levels
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' Dim TempNode As …
All 5 Replies
Teme64
215
Veteran Poster
bharanidharanit
-4
Junior Poster
Teme64
215
Veteran Poster
bharanidharanit
-4
Junior Poster
Teme64
215
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.