[This is preliminary documentation and is subject to change.]

Checks for a control recursively based on its id and returns it. Returns null if the control is not present.

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static Control FindControlRecursive(
	Control startControl,
	string id
)
Visual Basic (Declaration)
Public Shared Function FindControlRecursive ( _
	startControl As Control, _
	id As String _
) As Control
Visual C++
public:
static Control^ FindControlRecursive(
	Control^ startControl, 
	String^ id
)

Parameters

startControl
Type: System.Web.UI..::.Control
The starting point from where the control is checked
id
Type: System..::.String
The id of the control

Return Value

the found control or null if the control is not found

See Also