Solved

TreeView Windows Control - "Find" method

Posted on 2006-06-22
4
267 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
2005:

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

Bob
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now