Click or drag to resize
ScriptHelperGetString Method (String)
Encodes text to be used in JavaScript string and encapsulates it with "'".

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
public static string GetString(
	string text
)

Parameters

text
Type: SystemString
Text to be encoded

Return Value

Type: String
See Also