System.Web.UI.Control.FindControl Method

Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the erload:System.Web.UI.Control.FindControl method.

Syntax

protected virtual Control FindControl (string id, int pathOffset)

Parameters

id
The identifier for the control to be found.
pathOffset
The number of controls up the page control hierarchy needed to reach a naming container.

Returns

The specified control, or null if the specified control does not exist.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0