Skip to main content

GridViewSettings.PreviewEncodeHtml Property

SECURITY NOTE

Disabling this property may introduce security-related issues. Review the following help topic and learn how to protect websites from cross-site scripting (XSS) attacks: HTML Encoding.

Gets or sets whether to encode preview row content.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool PreviewEncodeHtml { get; set; }

Property Value

Type Description
Boolean

true to encode preview row content and display it as text, false to not encode preview row content and render it as HTML markup.

See Also