MsgBox Web Control Help

MsgBox.FindControl Method (Control, String)

Finds the control with the passed in ID.

[Visual Basic]
Overloads Private Function FindControl( _
   ByVal Ctl As Control, _
   ByVal ID As String _
) As Control
[C#]
private Control FindControl(
   Control Ctl,
   string ID
);

Parameters

Ctl
Parent container control object to start the search from.
ID
ID of the control.

Return Value

The control object found, or null if the control was not found.

Remarks

This method is recursive in order to search for the control even if it is contained in child controls, and not directly on the passed in parent control object.

See Also

MsgBox Class | BWare.UI.Web.WebControls Namespace | MsgBox.FindControl Overload List