Click or drag to resize

JSHelperStatusMsgJS Method (IAppContext, String, String, StatusMsgOptions)

Generates javascript for calling the javascript StatusMsg() function which provides a message and optional animated icon showing that processing is being performed. The StatusMsg() function is appropriate for use on a post. At this time it is not appropriate for use with AJAX calls because there is currently no mechanism for clearing the status indicator. The indicator goes away when the new page replaces the old.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string StatusMsgJS(
	IAppContext cxt,
	string ids,
	string defaultMessage,
	StatusMsgOptions options
)

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
ids
Type: SystemString
The resource identifier for the localized message to display.
defaultMessage
Type: SystemString
The message to default display when no localized text is found, often ending with ellipses.
options
Type: NetQuarryStatusMsgOptions
Options controlling how the status is to be displayed.

Return Value

Type: String
The javascript function call string.
See Also