Click here to Skip to main content
11,713,482 members (82,757 online)
Click here to Skip to main content
Add your own
alternative version

Disable Child Controls Recursively

, 13 Nov 2010 CPOL 3.9K 2
You can just use "not IsDisable" versus the IF...ELSE block. Additionally, the recursive call to ControlStatus should be done all the time so that the parent control is enabled/disabled along with the children. // to enable\disable the control & its child controls public...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available Yes 13-Nov-10 22:30 Available Deeksha Shenoy
1 No 2-Nov-10 9:25 Composing PSU Steve

License

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

Share

About the Author

PSU Steve
Software Developer (Senior) Self-employed, consultant to US Air Force
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150819.1 | Last Updated 13 Nov 2010
Article Copyright 2010 by PSU Steve
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid