ScriptHelperFormatTooltipString Method |
Formats string to be used for tooltip.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax 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:
StringSee Also