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.
Did you try checking for the checkbox isChecked condition in the seelction changed event also ? I mean, whenever selection changed event is fired, instead of displaying the graphic directly, it will first check the checkbox state, and then display the
graphic based on that.
If you can post some code, it can be quickly resolved.