Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi

I was wondering if there was any way whatsoever to get unique node values for the nodes in a treeview control. I have looked through most threads and cannot find aything useful.

 

I would appreciate it if anyone knew of how to ssign unique values and then retrieve them would be able to show me how to, as I have been struggling to get my treeview control populated, as the 2nd Nested nodes are added to the top as the index value is reset in each node.

 

:confused: :confused: :confused:

  • *Gurus*
Posted
If you want to keep track of your nodes in some other way than the hierarchical representation in the treeview you'll have to use a hashtable or your own collection to do so. Nodes themselves no longer have a Key or anything globally unique.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...