Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.MessageBox Class Reference

More...

Public Types

enum  Button {
  Button.NONE, Button.CANCEL, Button.OK, Button.OKCANCEL,
  Button.YESNO, Button.YESNOCANCEL
}
 
enum  Icon {
  Icon.NONE, Icon.ERROR, Icon.INFO, Icon.QUESTION,
  Icon.WARNING
}
 

Public Member Functions

MessageBox Alert (string title, object msg)
 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Alert (string title, string msg)
 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Alert (string title, string msg, JFunction fn)
 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Alert (string title, string msg, string handler)
 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Alert (string title, string msg, string handler, string scope)
 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Alert (string title, string msg, JFunction fn, string scope)
 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Alert (string title, string msg, MessageBoxButtonsConfig buttonsConfig)
 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Alert (string title, string msg, MessageBoxButtonsConfig buttonsConfig, string scope)
 Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
BadgeMessage Badge (AbstractComponent cmp)
 
BadgeMessage Badge (string cmpId)
 
BadgeMessage Badge (AbstractComponent cmp, string html)
 
BadgeMessage Badge (string cmpId, string html)
 
BadgeMessage Badge (AbstractComponent cmp, Badge config)
 
BadgeMessage Badge (string cmpId, Badge config)
 
CalloutMessage Callout (AbstractComponent cmp)
 
CalloutMessage Callout (string target, bool isCmp=false)
 
CalloutMessage Callout (AbstractComponent cmp, string title, string html)
 
CalloutMessage Callout (string target, string title, string html, bool isCmp)
 
CalloutMessage Callout (AbstractComponent cmp, Callout config)
 
CalloutMessage Callout (string target, Callout config, bool isCmp)
 
MessageBox Confirm (string title, object msg)
 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Confirm (string title, string msg)
 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Confirm (string title, string msg, JFunction fn)
 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Confirm (string title, string msg, string handler)
 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Confirm (string title, string msg, string handler, string scope)
 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Confirm (string title, string msg, JFunction fn, string scope)
 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Confirm (string title, string msg, MessageBoxButtonsConfig buttonsConfig)
 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
MessageBox Confirm (string title, string msg, MessageBoxButtonsConfig buttonsConfig, string scope)
 Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button). More...
 
override string ToScript ()
 
virtual MessageBox Configure (MessageBoxConfig config)
 
virtual void Show ()
 
virtual void Show (MessageBoxConfig config)
 
void Hide ()
 Hides the message box if it is displayed More...
 
void SetIcon (string icon)
 Adds the specified icon to the dialog. By default, the class 'ext-mb-icon' is applied for default styling, and the class passed in is expected to supply the background image url. Pass in empty string ('') to clear any existing icon. More...
 
void SetIcon (Icon icon)
 Adds the specified icon to the dialog. By default, the class 'ext-mb-icon' is applied for default styling, and the class passed in is expected to supply the background image url. Pass in empty string ('') to clear any existing icon. More...
 
void UpdateProgress (float value, string progressText, string msg)
 Updates a progress-style message box's text and progress bar. Only relevant on message boxes initiated via Ext.MessageBox.progress or Ext.MessageBox.wait, or by calling Ext.MessageBox.show with progress: true. More...
 
void UpdateProgress (float value, string progressText)
 Updates a progress-style message box's text and progress bar. Only relevant on message boxes initiated via Ext.MessageBox.progress or Ext.MessageBox.wait, or by calling Ext.MessageBox.show with progress: true. More...
 
void UpdateText ()
 Updates the message box body text More...
 
void UpdateText (string text)
 Updates the message box body text More...
 
Info Info (InfoPanel config)
 
Info Info (string title, string msg, string queue)
 
Info Info (string title, string msg, string queue, UI ui)
 
Info Info (string title, string msg, AnchorPoint alignment)
 
Info Info (string title, string msg, AnchorPoint alignment, UI ui)
 
Info Info (string msg)
 Info notification with Message only, no Title required. More...
 
Info Info (string title, string msg)
 
Info Info (string title, string msg, UI ui)
 
Notification Notify (NotificationConfig config)
 
Notification Notify (string title, object msg)
 
Notification Notify (string title, string msg)
 
Notification Notify (string title, string format, params object[] args)
 
MessageBox Progress (string title, string msg)
 Displays a message box with a progress bar. This message box has no buttons and is not closeable by the user. You are responsible for updating the progress bar as needed via Ext.MessageBox.updateProgress and closing the message box when the process is complete. More...
 
MessageBox Progress (string title, string msg, string progressText)
 Displays a message box with a progress bar. This message box has no buttons and is not closeable by the user. You are responsible for updating the progress bar as needed via Ext.MessageBox.updateProgress and closing the message box when the process is complete. More...
 
MessageBox Prompt (string title, object msg)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, JFunction fn)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, string handler)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, string handler, string scope)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, JFunction fn, string scope)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, JFunction fn, string scope, bool multiline, string value)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, JFunction fn, string scope, Unit multiline, string value)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, MessageBoxButtonsConfig buttonsConfig)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, MessageBoxButtonsConfig buttonsConfig, string scope, bool multiline, string value)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Prompt (string title, string msg, MessageBoxButtonsConfig buttonsConfig, string scope, Unit multiline, string value)
 Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback. More...
 
MessageBox Wait (object msg)
 Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete. More...
 
MessageBox Wait (string msg)
 Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete. More...
 
MessageBox Wait (string msg, string title)
 Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete. More...
 
MessageBox Wait (string msg, string title, WaitConfig config)
 Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete. More...
 

Properties

override string InstanceOf [get]
 
virtual MessageBoxButtonTextConfig ButtonText [get]
 
virtual Unit DefaultTextHeight [get, set]
 
virtual Unit MaxWidth [get, set]
 
virtual Unit MinProgressWidth [get, set]
 
virtual Unit MinWidth [get, set]
 

Detailed Description

Member Enumeration Documentation

◆ Button

Enumerator
NONE 
        </summary> 
CANCEL 
        </summary> 
OK 
        </summary> 
OKCANCEL 
        </summary> 
YESNO 
        </summary> 
YESNOCANCEL 
        </summary> 

◆ Icon

Enumerator
NONE 
        </summary> 
ERROR 
        </summary> 
INFO 
        </summary> 
QUESTION 
        </summary> 
WARNING 
        </summary> 

Member Function Documentation

◆ Alert() [1/8]

MessageBox Ext.Net.MessageBox.Alert ( string  title,
object  msg 
)
inline

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text

◆ Alert() [2/8]

MessageBox Ext.Net.MessageBox.Alert ( string  title,
string  msg 
)
inline

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text

◆ Alert() [3/8]

MessageBox Ext.Net.MessageBox.Alert ( string  title,
string  msg,
JFunction  fn 
)
inline

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
fn(optional) The callback function invoked after the message box is closed

◆ Alert() [4/8]

MessageBox Ext.Net.MessageBox.Alert ( string  title,
string  msg,
JFunction  fn,
string  scope 
)
inline

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
fn(optional) The callback function invoked after the message box is closed
scope(optional) The scope of the callback function

◆ Alert() [5/8]

MessageBox Ext.Net.MessageBox.Alert ( string  title,
string  msg,
MessageBoxButtonsConfig  buttonsConfig 
)
inline

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
buttonsConfigA MessageBoxButtonsConfig object for configuring the Text value and JavaScript Handler for each MessageBox Button.

◆ Alert() [6/8]

MessageBox Ext.Net.MessageBox.Alert ( string  title,
string  msg,
MessageBoxButtonsConfig  buttonsConfig,
string  scope 
)
inline

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
buttonsConfigA MessageBoxButtonsConfig object for configuring the Text value and JavaScript Handler for each MessageBox Button.
scope(optional) The scope of the callback function

◆ Alert() [7/8]

MessageBox Ext.Net.MessageBox.Alert ( string  title,
string  msg,
string  handler 
)
inline

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
handler(optional) The callback function invoked after the message box is closed

◆ Alert() [8/8]

MessageBox Ext.Net.MessageBox.Alert ( string  title,
string  msg,
string  handler,
string  scope 
)
inline

Displays a standard read-only message box with an OK button (comparable to the basic JavaScript alert prompt). If a callback function is passed it will be called after the user clicks the button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
handler(optional) The callback function invoked after the message box is closed
scope(optional) The scope of the callback function

◆ Badge() [1/6]

BadgeMessage Ext.Net.MessageBox.Badge ( AbstractComponent  cmp)
inline

◆ Badge() [2/6]

BadgeMessage Ext.Net.MessageBox.Badge ( AbstractComponent  cmp,
Badge  config 
)
inline

◆ Badge() [3/6]

BadgeMessage Ext.Net.MessageBox.Badge ( AbstractComponent  cmp,
string  html 
)
inline

◆ Badge() [4/6]

BadgeMessage Ext.Net.MessageBox.Badge ( string  cmpId)
inline

◆ Badge() [5/6]

BadgeMessage Ext.Net.MessageBox.Badge ( string  cmpId,
Badge  config 
)
inline

◆ Badge() [6/6]

BadgeMessage Ext.Net.MessageBox.Badge ( string  cmpId,
string  html 
)
inline

◆ Callout() [1/6]

CalloutMessage Ext.Net.MessageBox.Callout ( AbstractComponent  cmp)
inline

◆ Callout() [2/6]

CalloutMessage Ext.Net.MessageBox.Callout ( AbstractComponent  cmp,
Callout  config 
)
inline

◆ Callout() [3/6]

CalloutMessage Ext.Net.MessageBox.Callout ( AbstractComponent  cmp,
string  title,
string  html 
)
inline

◆ Callout() [4/6]

CalloutMessage Ext.Net.MessageBox.Callout ( string  target,
bool  isCmp = false 
)
inline

◆ Callout() [5/6]

CalloutMessage Ext.Net.MessageBox.Callout ( string  target,
Callout  config,
bool  isCmp 
)
inline

◆ Callout() [6/6]

CalloutMessage Ext.Net.MessageBox.Callout ( string  target,
string  title,
string  html,
bool  isCmp 
)
inline

◆ Configure()

virtual MessageBox Ext.Net.MessageBox.Configure ( MessageBoxConfig  config)
inlinevirtual

◆ Confirm() [1/8]

MessageBox Ext.Net.MessageBox.Confirm ( string  title,
object  msg 
)
inline

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text

◆ Confirm() [2/8]

MessageBox Ext.Net.MessageBox.Confirm ( string  title,
string  msg 
)
inline

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text

◆ Confirm() [3/8]

MessageBox Ext.Net.MessageBox.Confirm ( string  title,
string  msg,
JFunction  fn 
)
inline

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
fn(optional) The callback function invoked after the message box is closed

◆ Confirm() [4/8]

MessageBox Ext.Net.MessageBox.Confirm ( string  title,
string  msg,
JFunction  fn,
string  scope 
)
inline

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
fn(optional) The callback function invoked after the message box is closed
scope(optional) The scope of the callback function

◆ Confirm() [5/8]

MessageBox Ext.Net.MessageBox.Confirm ( string  title,
string  msg,
MessageBoxButtonsConfig  buttonsConfig 
)
inline

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
buttonsConfigA MessageBoxButtonsConfig object for configuring the Text value and JavaScript Handler for each MessageBox Button.

◆ Confirm() [6/8]

MessageBox Ext.Net.MessageBox.Confirm ( string  title,
string  msg,
MessageBoxButtonsConfig  buttonsConfig,
string  scope 
)
inline

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
buttonsConfigA MessageBoxButtonsConfig object for configuring the Text value and JavaScript Handler for each MessageBox Button.
scope(optional) The scope of the callback function

◆ Confirm() [7/8]

MessageBox Ext.Net.MessageBox.Confirm ( string  title,
string  msg,
string  handler 
)
inline

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
handler(optional) The callback function invoked after the message box is closed

◆ Confirm() [8/8]

MessageBox Ext.Net.MessageBox.Confirm ( string  title,
string  msg,
string  handler,
string  scope 
)
inline

Displays a confirmation message box with Yes and No buttons (comparable to JavaScript's confirm). If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked will be passed as the only parameter to the callback (could also be the top-right close button).

Parameters
titleThe title bar text
msgThe message box body text
handler(optional) The callback function invoked after the message box is closed
scope(optional) The scope of the callback function

◆ Hide()

void Ext.Net.MessageBox.Hide ( )
inline

Hides the message box if it is displayed

◆ Info() [1/8]

Info Ext.Net.MessageBox.Info ( InfoPanel  config)
inline

Parameters
config
Returns

◆ Info() [2/8]

Info Ext.Net.MessageBox.Info ( string  msg)
inline

Info notification with Message only, no Title required.

Parameters
msg
Returns

◆ Info() [3/8]

Info Ext.Net.MessageBox.Info ( string  title,
string  msg 
)
inline

Parameters
title
msg
Returns

◆ Info() [4/8]

Info Ext.Net.MessageBox.Info ( string  title,
string  msg,
AnchorPoint  alignment 
)
inline

Parameters
title
msg
alignment
Returns

◆ Info() [5/8]

Info Ext.Net.MessageBox.Info ( string  title,
string  msg,
AnchorPoint  alignment,
UI  ui 
)
inline

Parameters
title
msg
alignment
ui
Returns

◆ Info() [6/8]

Info Ext.Net.MessageBox.Info ( string  title,
string  msg,
string  queue 
)
inline

Parameters
title
msg
queue
Returns

◆ Info() [7/8]

Info Ext.Net.MessageBox.Info ( string  title,
string  msg,
string  queue,
UI  ui 
)
inline

Parameters
title
msg
queue
ui
Returns

◆ Info() [8/8]

Info Ext.Net.MessageBox.Info ( string  title,
string  msg,
UI  ui 
)
inline

Parameters
title
msg
ui
Returns

◆ Notify() [1/4]

Notification Ext.Net.MessageBox.Notify ( NotificationConfig  config)
inline

Parameters
config
Returns

◆ Notify() [2/4]

Notification Ext.Net.MessageBox.Notify ( string  title,
object  msg 
)
inline

Parameters
title
msg
Returns

◆ Notify() [3/4]

Notification Ext.Net.MessageBox.Notify ( string  title,
string  format,
params object[]  args 
)
inline

Parameters
title
format
args
Returns

◆ Notify() [4/4]

Notification Ext.Net.MessageBox.Notify ( string  title,
string  msg 
)
inline

Parameters
title
msg
Returns

◆ Progress() [1/2]

MessageBox Ext.Net.MessageBox.Progress ( string  title,
string  msg 
)
inline

Displays a message box with a progress bar. This message box has no buttons and is not closeable by the user. You are responsible for updating the progress bar as needed via Ext.MessageBox.updateProgress and closing the message box when the process is complete.

Parameters
titleThe title bar text
msgThe message box body text

◆ Progress() [2/2]

MessageBox Ext.Net.MessageBox.Progress ( string  title,
string  msg,
string  progressText 
)
inline

Displays a message box with a progress bar. This message box has no buttons and is not closeable by the user. You are responsible for updating the progress bar as needed via Ext.MessageBox.updateProgress and closing the message box when the process is complete.

Parameters
titleThe title bar text
msgThe message box body text
progressText(optional) The text to display inside the progress bar (defaults to '')

◆ Prompt() [1/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
object  msg 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text

◆ Prompt() [2/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text

◆ Prompt() [3/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
JFunction  fn 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
fn(optional) The callback function invoked after the message box is closed

◆ Prompt() [4/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
JFunction  fn,
string  scope 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
fn(optional) The callback function invoked after the message box is closed
scope(optional) The scope of the callback function

◆ Prompt() [5/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
JFunction  fn,
string  scope,
bool  multiline,
string  value 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
fn(optional) The callback function invoked after the message box is closed
scope(optional) The scope of the callback function
multiline(optional) True to create a multiline textbox using the defaultTextHeight property, or the height in pixels to create the textbox (defaults to false / single-line)
value(optional) Default value of the text input element (defaults to '')

◆ Prompt() [6/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
JFunction  fn,
string  scope,
Unit  multiline,
string  value 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
fn(optional) The callback function invoked after the message box is closed
scope(optional) The scope of the callback function
multiline(optional) True to create a multiline textbox using the defaultTextHeight property, or the height in pixels to create the textbox (defaults to false / single-line)
value(optional) Default value of the text input element (defaults to '')

◆ Prompt() [7/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
MessageBoxButtonsConfig  buttonsConfig 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
buttonsConfigA MessageBoxButtonsConfig object for configuring the Text value and JavaScript Handler for each MessageBox Button.

◆ Prompt() [8/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
MessageBoxButtonsConfig  buttonsConfig,
string  scope,
bool  multiline,
string  value 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
buttonsConfigA MessageBoxButtonsConfig object for configuring the Text value and JavaScript Handler for each MessageBox Button.
scope(optional) The scope of the callback function
multiline(optional) True to create a multiline textbox using the defaultTextHeight property, or the height in pixels to create the textbox (defaults to false / single-line)
value(optional) Default value of the text input element (defaults to '')

◆ Prompt() [9/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
MessageBoxButtonsConfig  buttonsConfig,
string  scope,
Unit  multiline,
string  value 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
buttonsConfigA MessageBoxButtonsConfig object for configuring the Text value and JavaScript Handler for each MessageBox Button.
scope(optional) The scope of the callback function
multiline(optional) True to create a multiline textbox using the defaultTextHeight property, or the height in pixels to create the textbox (defaults to false / single-line)
value(optional) Default value of the text input element (defaults to '')

◆ Prompt() [10/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
string  handler 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
handler(optional) The callback function invoked after the message box is closed

◆ Prompt() [11/11]

MessageBox Ext.Net.MessageBox.Prompt ( string  title,
string  msg,
string  handler,
string  scope 
)
inline

Displays a message box with OK and Cancel buttons prompting the user to enter some text (comparable to JavaScript's prompt). The prompt can be a single-line or multi-line textbox. If a callback function is passed it will be called after the user clicks either button, and the id of the button that was clicked (could also be the top-right close button) and the text that was entered will be passed as the two parameters to the callback.

Parameters
titleThe title bar text
msgThe message box body text
handler(optional) The callback function invoked after the message box is closed
scope(optional) The scope of the callback function

◆ SetIcon() [1/2]

void Ext.Net.MessageBox.SetIcon ( Icon  icon)
inline

Adds the specified icon to the dialog. By default, the class 'ext-mb-icon' is applied for default styling, and the class passed in is expected to supply the background image url. Pass in empty string ('') to clear any existing icon.

Parameters
iconA CSS classname specifying the icon's background image url, or empty string to clear the icon

◆ SetIcon() [2/2]

void Ext.Net.MessageBox.SetIcon ( string  icon)
inline

Adds the specified icon to the dialog. By default, the class 'ext-mb-icon' is applied for default styling, and the class passed in is expected to supply the background image url. Pass in empty string ('') to clear any existing icon.

Parameters
iconA CSS classname specifying the icon's background image url, or empty string to clear the icon

◆ Show() [1/2]

virtual void Ext.Net.MessageBox.Show ( )
inlinevirtual

◆ Show() [2/2]

virtual void Ext.Net.MessageBox.Show ( MessageBoxConfig  config)
inlinevirtual

◆ ToScript()

override string Ext.Net.MessageBox.ToScript ( )
inline

◆ UpdateProgress() [1/2]

void Ext.Net.MessageBox.UpdateProgress ( float  value,
string  progressText 
)
inline

Updates a progress-style message box's text and progress bar. Only relevant on message boxes initiated via Ext.MessageBox.progress or Ext.MessageBox.wait, or by calling Ext.MessageBox.show with progress: true.

Parameters
valueAny number between 0 and 1 (e.g., .5, defaults to 0)
progressTextThe progress text to display inside the progress bar (defaults to '')

◆ UpdateProgress() [2/2]

void Ext.Net.MessageBox.UpdateProgress ( float  value,
string  progressText,
string  msg 
)
inline

Updates a progress-style message box's text and progress bar. Only relevant on message boxes initiated via Ext.MessageBox.progress or Ext.MessageBox.wait, or by calling Ext.MessageBox.show with progress: true.

Parameters
valueAny number between 0 and 1 (e.g., .5, defaults to 0)
progressTextThe progress text to display inside the progress bar (defaults to '')
msgThe message box's body text is replaced with the specified string (defaults to undefined so that any existing body text will not get overwritten by default unless a new value is passed in)

◆ UpdateText() [1/2]

void Ext.Net.MessageBox.UpdateText ( )
inline

Updates the message box body text

◆ UpdateText() [2/2]

void Ext.Net.MessageBox.UpdateText ( string  text)
inline

Updates the message box body text

Parameters
text(optional) Replaces the message box element's innerHTML with the specified string (defaults to the XHTML-compliant non-breaking space character '&#160;')

◆ Wait() [1/4]

MessageBox Ext.Net.MessageBox.Wait ( object  msg)
inline

Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete.

Parameters
msgThe message box body text

◆ Wait() [2/4]

MessageBox Ext.Net.MessageBox.Wait ( string  msg)
inline

Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete.

Parameters
msgThe message box body text

◆ Wait() [3/4]

MessageBox Ext.Net.MessageBox.Wait ( string  msg,
string  title 
)
inline

Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete.

Parameters
msgThe message box body text
title(optional) The title bar text

◆ Wait() [4/4]

MessageBox Ext.Net.MessageBox.Wait ( string  msg,
string  title,
WaitConfig  config 
)
inline

Displays a message box with an infinitely auto-updating progress bar. This can be used to block user interaction while waiting for a long-running process to complete that does not have defined intervals. You are responsible for closing the message box when the process is complete.

Parameters
msgThe message box body text
title(optional) The title bar text
config(optional) A Ext.ProgressBar.waitConfig object

Property Documentation

◆ ButtonText

virtual MessageBoxButtonTextConfig Ext.Net.MessageBox.ButtonText
get

◆ DefaultTextHeight

virtual Unit Ext.Net.MessageBox.DefaultTextHeight
getset

◆ InstanceOf

override string Ext.Net.MessageBox.InstanceOf
get

◆ MaxWidth

virtual Unit Ext.Net.MessageBox.MaxWidth
getset

◆ MinProgressWidth

virtual Unit Ext.Net.MessageBox.MinProgressWidth
getset

◆ MinWidth

virtual Unit Ext.Net.MessageBox.MinWidth
getset


The documentation for this class was generated from the following files: