Searches for the control specified in the ControlID property.
Syntax
CSharp
protected Control FindTargetControl (
bool searchNamingContainers
)
VisualBasic
Protected Function FindTargetControl ( _
searchNamingContainers As Boolean _
) As Control
ManagedCPlusPlus
protected:
Control^ FindTargetControl (
bool searchNamingContainers
)
JSharp
protected Control FindTargetControl (
boolean searchNamingContainers
)
Parameters
- searchNamingContainers (Boolean)
A Boolean value that indicates whether to search for the control recursively in naming containers that contain the current UpdatePanel control.
Return Value
Return Value
A control that has the ID matching the ControlID property.
Exceptions
Assembly: System.Web.Extensions (Module: System.Web.Extensions)