New to Telerik UI for ASP.NET Core? Download free 30-day trial

EditorSerializationSettingsBuilder

Methods

Custom(System.String)

Define custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Custom(System.Func)

Define custom serialization for the editable content. The method accepts a single parameter as a string and is expected to return a string.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Entities(System.Boolean)

Indicates whether the characters outside the ASCII range will be encoded as HTML entities. By default, they are encoded.

Parameters

value - System.Boolean

The value for Entities

OptimizeTags(System.Boolean)

Indicates whether optizable tags should be removed from the DOM. Currently, optimizable tags are span and font elements with no attributes and no decoration or formatting applied (via inline styles/attributes).

Parameters

value - System.Boolean

The value for OptimizeTags

OptimizeTags()

Indicates whether optizable tags should be removed from the DOM. Currently, optimizable tags are span and font elements with no attributes and no decoration or formatting applied (via inline styles/attributes).

Scripts(System.Boolean)

Indicates whether inline scripts will be serialized and posted to the server.

Parameters

value - System.Boolean

The value for Scripts

Scripts()

Indicates whether inline scripts will be serialized and posted to the server.

Semantic(System.Boolean)

Indicates whether the font styles will be saved as semantic (strong / em / span) tags, or as presentational (b / i / u / font) tags. Used for outputting content for legacy systems.

Parameters

value - System.Boolean

The value for Semantic

In this article
Not finding the help you need?