MsgBox Web Control Help

MsgBox.Execute Method (Control)

Creates the script to display the message box.

[Visual Basic]
Overloads Public Sub Execute( _
   ByVal Source As Control _
)
[C#]
public void Execute(
   Control Source
);

Parameters

Source
The control that generated the original postback in which response method this method is called.

Remarks

NOTE: this method is usually called only within response methods for controls which submit form data, such as button controls.

The MessageBoxType property value is used to set the MsgBox.MsgBoxType of the message box to be displayed. The Text property value is used for the message box text. The PromptValue value is used for the initial return value for a prompt() message box. This value is shown in the text box of the message box.

See Also

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