DataSourceControl.FindControl(String) Method

Definition

Searches the current naming container for a server control with the specified id parameter.

public:
 override System::Web::UI::Control ^ FindControl(System::String ^ id);
public override System.Web.UI.Control FindControl (string id);
override this.FindControl : string -> System.Web.UI.Control
Public Overrides Function FindControl (id As String) As Control

Parameters

id
String

The identifier for the control to be found.

Returns

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

Applies to