MsgBox Web Control Help

MsgBox.FindPageControl Method 

Finds the control with the passed in ID.

[Visual Basic]
Protected Function FindPageControl( _
   ByVal ID As String _
) As Control
[C#]
protected Control FindPageControl(
   string ID
);

Parameters

ID
ID of the control.

Return Value

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

Remarks

This method calls the recursive method FindControl to search for the control even if it is contained in child controls, and not directly on the Page object.

See Also

MsgBox Class | BWare.UI.Web.WebControls Namespace