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

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
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