Gets the number of server controls in the ControlCollection object for the specified ASP.NET server control.
Assembly: System.Web (in System.Web.dll)
The following code example demonstrates how to use the ControlCollection object. The use of the Control::HasControls property verifies that the control has child controls. If Control::HasControls returns false, the remaining code does not run.property to iterate through a control's
Available since 1.1