none
TreeView Control Customization help RRS feed

  • Question

  • I am trying to customize the TreeView control in asp.net 2.0 within VS2005 Beta 2. I have successfully been able to add different custom images to the parent node non-selected, parent node selected, and child node non-selected. However, when i can not seem to get the child node selected image to change properly. I do not know if i am simply trying to change it incorrectly or if it is not possible, or if it simply is not working. Could you please help me out.

    The goal is for a simple image to change colors after it is selected. I.E. parent node goes from blue to grey when selected and the same for the child nodes, only different images.

    From what i can tell, the properties of the TreeView control needs a NoExpandSelectedImageUrl property under Appearances.

    If you are unable to help, please refer me to someone who may be able to, i am very impressed with the new visual studio so far, and this feature would be awsome to have work properly, or in this manner.

    Thanks again.

    Friday, July 22, 2005 9:51 PM

Answers