 | MiscFindControlRecursive Method |
Find a control object by the ID property
Namespace: ToolBooxAssembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static Control FindControlRecursive(
Control Root,
string Id
)
Public Shared Function FindControlRecursive (
Root As Control,
Id As String
) As Control
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:
ControlFounded control object on success; null if not found
See Also