Click here to Skip to main content
12,895,774 members (42,924 online)
Click here to Skip to main content

Stats

3K views
3 bookmarked
Posted 2 Nov 2010

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) ...
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 13 Nov 2010
Article Copyright 2010 by jarvisa
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid