System.Web.UI Namespace Control Class
Searches the current naming container for a control with the specified id and an offset to aid in the search.
[ VB ]
Overloads Overridable Protected Function FindControl ( _
ByVal id As String, _
ByVal pathOffset As Integer _
) As Control
[ C# ]
Protected virtual Control FindControl (
string id,
int pathOffset
);
[ C++ ]
protected: virtual Control* FindControl (
String* id,
int pathOffset
);
[ JScript ]
Protected function FindControl (
id : String,
pathOffset : int
) : Control;
- id
- The identifier for the control to be found.
- pathOffset
- The number of controls up in the page control hiearchy needed to reach a naming container.
The specified control, or a null reference ( Nothing in Visual Basic ) if the specified control does not exist.
Control Members Control.FindControl Overload List