HierarchicalDataSourceControl.HasControls Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Use BaseTrue

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
Available since 2.0
Return to top