Control.FindControl Method (String, Int32)
.NET Framework 2.0
This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
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 FindControl method.
Namespace: System.Web.UIAssembly: System.Web (in system.web.dll)
protected Control FindControl ( String id, int pathOffset )
protected function FindControl ( id : String, pathOffset : int ) : Control
Not applicable.
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.
Return Value
The specified control, or a null reference (Nothing in Visual Basic) if the specified control does not exist.Community Additions
ADD
Show: