Find a control by its id in our NamingContainer or any parent NamingContainer

Namespace:  EPiServer.ClientScript
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static Control FindControlRecursive(
	Control baseControl,
	string controlId
)

Parameters

baseControl
Type: System.Web.UI..::.Control
Control
controlId
Type: System..::.String
Id of the control to find

Return Value

A reference to the control or null if no matching control

See Also