Click or drag to resize

ControlHelperGetControlById Method (ControlCollection, String)

Finds the control in controls (and their descendants) with the given controlId.

Namespace:  Bootstrap.A11y.Helpers
Assembly:  Bootstrap.A11y (in Bootstrap.A11y.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
C#
public static Control GetControlById(
	ControlCollection controls,
	string controlId
)

Parameters

controls
Type: System.Web.UIControlCollection
The controls to search amongst.
controlId
Type: SystemString
The control identifier to search for.

Return Value

Type: Control
The Control, if found, or null.
See Also