Click or drag to resize
ScriptHelperGetAlertScript Method
Returns the JavaScript alert message.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static string GetAlertScript(
	string message,
	bool addScriptTags = true
)

Parameters

message
Type: SystemString
Message to display
addScriptTags (Optional)
Type: SystemBoolean
True to enclose the script block in script and /script tags, otherwise false

Return Value

Type: String
See Also