ASPxHtmlEditorSettings.AllowHtmlView Property

Gets or sets a value that specifies whether the HTML View is available to end-users.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v19.2.dll


public bool AllowHtmlView { get; set; }
Public Property AllowHtmlView As Boolean

Property Value

Type Default Description


true to enable the editor's HTML View; otherwise, false.


If the AllowHtmlView property is set to false, the editor's HTML tab is not displayed, and end-users are not allowed to modify the editor's content by editing the pure HTML markup.


The complete sample project is available in the DevExpress Code Central database at E377.

<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server" Html='<%# Bind("Html") %>'>
          <ValidationSettings AllowedFileExtensions=".jpg, .png, .gif">
     <Settings AllowDesignView="False" AllowHtmlView="False" />
See Also