ScriptHelperGetAlertScript Method |
Returns the JavaScript alert message.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax 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:
StringSee Also