I have a treeview with multiple nodes with the same text and quite nested inside.
I wonder how to select node and get exact path of it by index not text
Like selected is
treeview.nodes[3].nodes[2].nodes[7]
the path is 3/2/7
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is a sample how it should work to get a
stringpath from yourTreeview.Not fully tested this sample, but I should be hint for you. Hope that will solve your problem, if not please add further details to your question.