asp.net.ph

Control.FindControl Method ( String, Int32 )

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;

Parameters

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.

Return Value

The specified control, or a null reference ( Nothing in Visual Basic ) if the specified control does not exist.

See Also

Control Members   Control.FindControl Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph