https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.control.findcontrol?view=netframework-4.7
FindControl (String)
Searches the current naming container for a server control with the specified id parameter.
Public Virtual System.Web.UI.Control FindControl (string ID);
Parameters
-
Id
- String
The identifier for the control is found.
ReturnsControl
The specified control, or null if the specified control does not exist.
Remarks
Use FindControl to access a control from a function with a Code-behind page, to access a control, which is inside another cont Ainer, or in other circumstances where the target control was not a directly accessible to the caller.
This method would find a control only if the control was directly contained by the specified container; That's, the method does not search throughout a hierarchy of controls within controls.
For information what to find a control when the know its immediate closest container, see how to:access Server Co Ntrols by ID.
Docs-->. Net-->api Reference-->system.? Web.? Ui-->control-->methods-->find? Control