Treeview question

J

John

Hi all,

I have a puzzling question. I'm loading a treeview conrol with nodes and now
need to send data with it but for it not to be shown. I need to use it
later. To give an example, a datagrid could have one visible column but a
couple of invisible columns with supporting data (e.g. a db key). If someone
clicks on the description, one can get that key from the hidden item.

Is there some way I can do this using the treeview control? I know I can
record the index as I create the child nodes and then store it in a session
variable and then use it later in the SelectedIndexChange event but I was
wondering if there was a more-elegant method.

Any help is appreciated . . .

Regards
John.
 

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

Similar Threads


Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,144
Latest member
KetoBaseReviews
Top