Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HasControls Method

DataSourceControl.HasControls Method

This member overrides Control.HasControls(), and more complete documentation might be available in that topic.

Determines if the server control contains any child controls.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override bool HasControls()

Return Value

Type: System.Boolean
true if the control contains other controls; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft