Click here to Skip to main content
12,400,556 members (61,190 online)
Click here to Skip to main content

Disable Child Controls Recursively

, 1 Nov 2010 CPOL
public void ControlStatus(Control control, bool isDisable){ foreach (Control c in control.Controls) if (c.HasControls()) ControlStatus(c, isDisable); else { WebControl w = c as WebControl; if (wc != null) ...
This is an old version of the currently published tip/trick.

This article is still being written and is not currently available for general viewing.

Please go to the Programming Tips Table of Contents to view the list of available articles in this section.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160721.1 | Last Updated 2 Nov 2010
Article Copyright 2010 by jarvisa
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid