Searching through a Microsoft TreeView control

K

KevinPublic

I'm trying to consolidate several screens into one using a Treeview to look
at the details of an order. I'm working for a cabinet building company. An
order will include multiple line items, and there will modifications to the
line items that represent customizations to that particular piece.

Order
--> 1. Line item
-----> 1.01 Modification
-----> 1.02 Modification
--> 2. Line Item
-----> 2.01 Modification

The modifications display as a decimal to the line item as stated above.
The problem is this; if the user goes back into an order, they can look at an
overview on a previous page that also lists the items and their associated
modifications. If they click on a line item or a modification, I want to
send them to an entry screen that will allow them to edit it. That entry
page has the treeview. If the user clicks on, say, modification 4.03, how
can I programmatically search through the treeview to find the child entry
4.03 and highlight it?

Does this make any sense?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top