TransformationHelper EnsureValueHTMLEncode Method (Object)Kentico 8.0 API Reference
Returns HTML encoded value if value is string and it should be encoded(it depends on value of CMSHTMLEncodeEval key in configuration file).

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.0.0.0 (8.0.5239.26125)

Return Value

Type: OnlineObject
See Also