0 out of 5 rated this helpful - Rate this topic

Control.FindControl Method

Searches the current naming container for the specified server control.
Name Description
Control.FindControl (String) Searches the current naming container for a server control with the specified id parameter.
Control.FindControl (String, Int32) 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 FindControl method.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
returns null if the control can't be found
Returns null if the control can't be found. (.NET 2.0)