Recursively finds a child control by Id.

Namespace: MonoSoftware.Web
Assembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static Control FindControlRecursive(
	this Control control,
	string id
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function FindControlRecursive ( 
	control As Control,
	id As String
) As Control
Visual C++
public:
[ExtensionAttribute]
static Control^ FindControlRecursive(
	Control^ control, 
	String^ id
)
F#
static member FindControlRecursive : 
        control : Control * 
        id : string -> Control 

Parameters

control
Type: System.Web.UI..::..Control
Control
id
Type: System..::..String
Child control's Id

Return Value

Type: Control

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also