ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / HtmlFilter Class / EncodeHtml Property

In This Topic
    EncodeHtml Property
    In This Topic
    Specifies whether field contents should be encoded or rendered in raw format. This property allows you to render fields that contain HTML formatting.
    Syntax
    'Declaration
     
    Public Property EncodeHtml As System.Boolean
    public System.bool EncodeHtml {get; set;}
    Remarks

    By default, field contents are encoded, so a field containing the string "A<B>C" would be rendered as "A&lt;B&gt;C", which would appear as the original string in the browser.

    If you set EncodeHtml to False, the same string would be rendered in raw format, causing the browser to display it as "A<B>C" (the "C" would be bold).

    See Also