DataSourceControl.FindControl(String) Method

Definition

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

C#
public override System.Web.UI.Control FindControl(string id);

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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1