MsgBox Web Control Help

MsgBox Class

MsgBox is an ASP.NET control which provides an easy way to show a message box on the browser. This implementation uses the JScript alert(), confirm() and prompt() message box functions to provide the required functionality. The control provides a postback mechanism so that the form is posted back when the message box is dismissed. The message box return values can be retrieved by providing an event response method in the form.

The control is used by adding it from the toolbox (after it is first added), and then dragging it onto the form. The message boxes are then activated by calling the Execute methods in a button control OnClick() response method. Note that, in most cases, only one MsgBox control is required to service multiple buttons on the webform.

For a list of all members of this type, see MsgBox Members.

System.Object
   Control
      Literal
         MsgBox

[Visual Basic]
Public Class MsgBox
Inherits Literal
Implements IPostBackDataHandler
[C#]
public class MsgBox : Literal, IPostBackDataHandler

Requirements

Namespace: BWare.UI.Web.WebControls

Assembly: BWare.UI.Web.WebControls.MsgBox (in BWare.UI.Web.WebControls.MsgBox.dll)

See Also

MsgBox Members | BWare.UI.Web.WebControls Namespace