Click here to Skip to main content
15,896,154 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
(First, I'm argentinian, so my English is not good)
I have a big problem with Treeview with checkboxes.
I want to check all child nodes when I check the parent node, but, when If I check or uncheck the box, nothing happens. If I click on the link, nothing happens. If I first check on the box and then click the link, the event fires. If I check a box and click on a link on a separate node, the event fires as well.

I really need to fire the event only when I check/uncheck the boxes.
Posted
Comments
Sergey Alexandrovich Kryukov 10-Jan-12 12:24pm    
1) How do you know the event handler was actually added to the event's invocation list (+= operator)?
2) How do you know the event is not fired? Maybe it was not handled properly? Did you observe the call of the handler, under debugger?

If these hints did not help you, show some relevant code. Use "Improve question".
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900