Skip to main content

Bind HTML Editor to Data

You can use the ASPxHtmlEditor.Html property to bind ASPxHtmlEditor content to datasource fields. This technique is useful if you integrate the editor into the ASPxGridView or asp:Repeater.

ASPxHtmlEditor within ASPxGridView

<dx:ASPxGridView ID="ASPxGridView1" runat="server">
              <dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server" 
                  Html='<%# Eval("DescriptionHtml") %>'>


Refer to the following example in the Support Center to see this feature in action: HtmlEditor in ASPxGridView.