Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / FindControl Method / FindControl(String,Int32) Method
The identifier for the control to be found.
The number of controls up the page control hierarchy needed to reach a naming container.


In This Topic
    FindControl(String,Int32) Method
    In This Topic
    Searches the current naming container for a server control with the specified id and integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the Overload:System.Web.UI.Control.FindControl method.
    Syntax
    'Declaration
     
    
    Protected Overloads Overrides Function FindControl( _
       ByVal id As String, _
       ByVal pathOffset As Integer _
    ) As Control
    'Usage
     
    
    Dim instance As FpSpread
    Dim id As String
    Dim pathOffset As Integer
    Dim value As Control
     
    value = instance.FindControl(id, pathOffset)
    protected override 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.

    Return Value

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