Skip to main content
All docs
V25.1
  • Tab

    ASPxBinaryImage.EncodeHtml 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 editor content.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

    [DefaultValue(true)]
    public override bool EncodeHtml { get; set; }

    Property Value

    Type Default Description
    Boolean true

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

    See Also