Solved

TreeView Windows Control - "Find" method

Posted on 2006-06-22
4
269 Views
Last Modified: 2007-12-19
I'm using the Windows TreeView control and like the "Find" method.  I'm mapping an OleDbDataReader, and it's very useful to locate parent nodes with this "Find" method.

For some reason, it's not documented anywhere in the MSDN that I can see.  So I'm interested to know if anyone has any experience with this method, and whether there are any potential problems that I should be aware of.

jkavx
0
Comment
Question by:jkavx
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 16963822
1) .NET version?

2) I am assuming 2005, since I don't think 2003 has the Find method.

Bob
0
 
LVL 11

Expert Comment

by:vo1d
ID: 16963914
the treeview does not have a find method implementation.
maybe it is a third party treeview or an extra implementation of someone else?
0
 
LVL 11

Accepted Solution

by:
vo1d earned 125 total points
ID: 16963942
oh sorry, you mean this one: this.treeView1.Nodes.Find(...), correct?
you have to take a look at the msdn description of the treenodecollection.
the find method is implemented there.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 16963949
2005:

this.treeView1.Nodes.Find(key, searchAllChildren);

Bob
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reset asp.net login password 4 42
In C# Using WebClient method how to post certificate from file with password 3 31
Coding C# in Linux 8 61
SSRS subreport with parameter 3 29
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question