ASPxHtmlEditor.Html Property

Specifies the HTML markup that is the ASPxHtmlEditor's content.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

Declaration

[DefaultValue("")]
public string Html { get; set; }
<DefaultValue("")>
Public Property Html As String

Property Value

Type Default Description
String

String.Empty

The editor's HTML markup.

Remarks

Use the Html property to access the ASPxHtmlEditor's content.

The ASPxClientHtmlEditor.GetHtml and ASPxClientHtmlEditor.SetHtml methods allow you to get and set editor content on the client side.

Examples

<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server" 
    ClientInstanceName="htmlEditor"
    Html="&lt;STRONG&gt;Sample Text&lt;/STRONG&gt;" >
</dx:ASPxHtmlEditor>
See Also