Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView Node Images Changing
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01339284
Message ID:
01341373
Vues:
13
Did you get this working?

If not, see if these help:
http://bytes.com/forum/thread277507.html
http://www.neowin.net/forum/lofiversion/index.php/t287848.html


>I am setting the image in a treeview by:
>
>
>oNode = treeview1.Nodes.Add(sCaption);
>oNode.Tag = sTagValue;
>oNode.ImageKey = sImageKey;
>oNode.Expand();
>
>
>
>The images are being set fine. But when I click on a node, the icon changes to the icon set on the root node. When I click a different node, the prior node's image changes back to its correct icon.
>
>Anyone know what I'm doing wrong?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform