Spread for ASP.NET 7.0 Product Documentation
FindControl(String,Int32) Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > FindControl Method : FindControl(String,Int32) Method


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.

Glossary Item Box

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 Overload:System.Web.UI.Control.FindControl method.

Syntax

Visual Basic (Declaration) 
Protected Overloads Overrides Function FindControl( _
   ByVal id As String, _
   ByVal pathOffset As Integer _
) As Control
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim id As String
Dim pathOffset As Integer
Dim value As Control
 
value = instance.FindControl(id, pathOffset)
C# 
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.

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.