Select treenode in code-behind

S

Swede.Swede

Hello!

How can I select a treenode in code behind?

I have a treeview with unique values and want to select a specific
node based on the value.

TIA

Clarkie
 
M

Madhur

If I am not wrong, you will have to loop through TreeNodeCollection to find
your node.

I am not sure there exists an indexer which would allow you to retrieve your
node by value.
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top