Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Show All Themes

Html Editing

  • Cut (Ctrl+X)
  • Copy (Ctrl+C)
  • Paste (Ctrl+V)
  • Paste from Word
  • Undo (Ctrl+Z)
  • Redo (Ctrl+Y)
  • Remove Format
  • Superscript
  • Subscript
  • Ordered List
  • Bullet List
  • Indent
  • Outdent
  • Insert Link (Ctrl+K)
  • Remove Link (Ctrl+Shift+K)
  • Insert Image (Ctrl+G)
  • Insert Table
  • Find and Replace (Ctrl+H)
  • Full Screen (F11)
  • v
  • v
  • v
  • Bold (Ctrl+B)
  • Italic (Ctrl+I)
  • Underline
  • Strikethrough
  • Align Left (Ctrl+L)
  • Align Center (Ctrl+E)
  • Align Right (Ctrl+R)
  • Back Color
  • Fore Color
Content Filtering
Content Editing

ASPxHtmlEditor is a rich-text WYSIWYG HTML editor for ASP.NET. Its intuitive user interface enables even inexperienced users to edit HTML page contents with ease. This demo describes several of the features available to you when using the ASPxHtmlEditor control.

The ASPxHtmlEditor control automatically performs validation, editing and filtering of the entered HTML code and is able to remove all potentially harmful code. The editor exposes several options, allowing you to control required automatic transformations.

Content Filtering

Use the AllowScripts, AllowIFrames, AllowFormElements, AllowIdAttributes, and AllowStyleAttributes properties to control whether tags and attributes of certain predefined types – scripts, IFRAME, form elements, ID attributes, and style attributes respectively – are allowed within the editor's HTML code.

The AllowedDocumentType property specifies the document types that are allowed within the editor. The available options are: XHTML 1.0 Transitional, HTML 5, or both. HTML code entered into the editor's HTML View is automatically transformed according to the specified document type.

Content Editing

The UpdateDeprecatedElements property specifies whether deprecated elements (such as u, s, strike, font, center) occurring within the editor's HTML markup should be replaced with their valid analogs.

The UpdateBoldItalic property specifies the necessity of converting the 'b' and 'i' elements into the 'strong' and 'em' elements respectively.

The ResourcePathMode property specifies if resource paths should be changed to absolute, relative, or root relative.

The AllowCustomColorsInColorPickers property specifies whether an end-user can specify a custom color in editor color buttons.

The EnterMode property allows you to specify the editor's behavior when the ENTER key is pressed by an end-user – you can choose between a paragraph or line break rendering.

The AllowEditFullDocument property specifies if end-users can edit full document content or the body tag content only.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxHTMLEditorDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxHTMLEditorDemos