A newer version of this page is available. Switch to the current version.

Content Filtering and Validation

The ASPxHtmlEditor control provides different ways to validate, filter, and correct its content.

  • HTML Validation

    The editor automatically performs validation and is able to remove all potentially harmful code.

  • Content Element Filtering

    The editor provides you with the ability to filter content elements. You can specify filter rules for tags, attributes, and style attributes.

  • Paste Formatting

    The editor provides the capability to automatically format the pasted HTML content.

  • Content Validation

    The editor allows you to provide custom HTML markup validation logic. In addition, you can enable content validation, which can be performed on the client and the server.