Click here to Skip to main content
12,699,308 members (34,356 online)
Click here to Skip to main content

Stats

2.9K views
3 bookmarked
Posted

Disable Child Controls Recursively

, 13 Nov 2010 CPOL
public void ControlStatus(Control control, bool isDisable){ foreach (Control c in control.Controls) if (c.HasControls()) ControlStatus(c, isDisable); else { WebControl wc = c as WebControl; if (wc != null) ...

Views

Downloads

License

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

Share

About the Author

jarvisa
Software Developer (Senior) Shaw Inspection Systems Ltd
United Kingdom United Kingdom
No Biography provided

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 13 Nov 2010
Article Copyright 2010 by jarvisa
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid