Click or drag to resize
ScriptHelperFormatTooltipString Method
Formats string to be used for tooltip.

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 FormatTooltipString(
	string text,
	bool encode = true,
	bool escape = true
)

Parameters

text
Type: SystemString
Tooltip string
encode (Optional)
Type: SystemBoolean
Indicates whether the tooltip text should be encoded
escape (Optional)
Type: SystemBoolean
Indicates if apostrophes and backslashes should be escaped

Return Value

Type: String
See Also