none
Treeview with checkbox: can I have dual functionality?

    Question

  • Hello all,

    I've come across a unique problem (unique to me at least:).  I have a treeview control with each item representing a graphic on the screen.  Each treeview item has a checkbox and a label.  When I click on a treeview item, the selectionchanged event fires and the graphic changes its symbol on screen to highlight it.  The checkbox is intended to toggle the graphic's visibility, but when I click on a checkbox for a given treeview item, the checkbox clears but the selectionchanged event fires too, highlighting the graphic I just tried to hide.

    I've searched far and wide for a solution.  Can anyone point me in the direction of a viable solution to this problem?  Any help you can provide is greatly appreciated.

    Regards,

    Wednesday, May 16, 2012 10:13 PM

Answers

All replies