Click or drag to resize
MiscFindControlRecursive Method
Find a control object by the ID property

Namespace: ToolBoox
Assembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static Control FindControlRecursive(
	Control Root,
	string Id
)

Parameters

Root
Type: System.Web.UIControl
Parent control object to start with (es: Page)
Id
Type: SystemString
ID string property of the control to find

Return Value

Type: Control
Founded control object on success; null if not found
See Also