Alex Rivera | Logout

Image index of TreeView node changes upon selection

Asked 2009-11-01T06:58:30.313
9

When I tried using the imagelist in treeview, the image index changes when treenode is clicked. I have no idea why it is happening. Can anyone help me?

Thanks in advance

Edit
Report

1 Answer

15

You need to set both the ImageIndex and the SelectedImageIndex on the tree node.

answered 2009-11-01T07:29:31.107

Your Answer