Finds the control recursive from child to parent.
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static Control FindControlRecursive( Control objControl, string strControlName ) |
Visual Basic |
---|
Public Shared Function FindControlRecursive ( objControl As Control, strControlName As String ) As Control |
Parameters
- objControl
- Type: System.Web.UI..::..Control
current control.
- strControlName
- Type: System..::..String
the control name which want to find out.