hi i am using a treeview control in my application i want to checked all child node by clicking on the parent node .how can i do this task
Asked
Active
Viewed 208 times
2
-
Where are you stuck? I don't have code at hand.. however looping over children of a node and toggling the Checked property should be simple. – Gishu Feb 01 '10 at 06:26
1 Answers
1
I think it's best that you take a look at the documentation for TreeView
.AfterCheck in MSDN. The example provided performs exactly the function you are asking for, protects against a few common edge cases, and it's heavily commented.

Aaronaught
- 120,909
- 25
- 266
- 342