Searches the current naming container for a server control with the specified id parameter.
Syntax
Visual Basic (Declaration) |
|
Public Overridable Function FindControl( _
ByVal id As String _
) As Control |
Visual Basic (Usage) |
Copy Code |
Dim instance As Chart
Dim id As String
Dim value As Control
value = instance.FindControl(id)
|
Parameters
- id
- The identifier for the control to be found.
Return Value
The specified control, or null if the specified control does not exist.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also