The properties of the MsgBox class are listed below. For a complete list of MsgBox class members, see the MsgBox Members topic.
BindingContainer
(inherited from Control) |
|
ClientID
(inherited from Control) |
Gets the server control identifier generated by ASP.NET. |
Controls
(inherited from Control) |
Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. |
EnableViewState |
Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. |
ID
(inherited from Control) |
Gets or sets the programmatic identifier assigned to the server control. |
MessageBoxType |
Sets or gets the message box type. |
NamingContainer
(inherited from Control) |
Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value. |
Page
(inherited from Control) |
Gets a reference to the Page instance that contains the server control. |
Parent
(inherited from Control) |
Gets a reference to the server control's parent control in the page control hierarchy. |
PromptValue |
Sets or gets the initial return value for a prompt() message box. This value is shown in the text box of the message box. |
ReturnValue |
Gets the message box return value. |
Site
(inherited from Control) |
Gets information about the Web site to which the server control belongs. |
Source |
Gets the control that generated the original postback in response to which the message box is displayed. |
TemplateSourceDirectory
(inherited from Control) |
Gets the virtual directory of the Page or UserControl that contains the current server control. |
Text |
Gets or sets the text that will appear as the message box text. |
UniqueID
(inherited from Control) |
Gets the unique, hierarchically-qualified identifier for the server control. |
Visible
(inherited from Control) |
Gets or sets a value that indicates whether a server control is rendered as UI on the page. |
ChildControlsCreated
(inherited from Control) |
Gets a value that indicates whether the server control's child controls have been created. |
Context
(inherited from Control) |
Gets the HttpContext object associated with the server control for the current Web request. |
Events
(inherited from Control) |
Gets a list of event handler delegates for the control. This property is read-only. |
HasChildViewState
(inherited from Control) |
Gets a value indicating whether the current server control's child controls have any saved view-state settings. |
IsTrackingViewState
(inherited from Control) |
Gets a value that indicates whether the server control is saving changes to its view state. |
ViewState
(inherited from Control) |
Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page. |
ViewStateIgnoresCase
(inherited from Control) |
Gets a value that indicates whether the StateBag object is case-insensitive. |
MsgBoxEventSourceID |
Returns a unique ID for the hidden input field containing the original postback event source object, based on the ID of the MsgBox control. |
MsgBoxReturnID |
Returns a unique ID for the hidden input field containing the message box return value, based on the ID of the MsgBox control. |
MsgBox Class | BWare.UI.Web.WebControls Namespace