Specifies the HTML markup that represents the editor's content.
Namespace:DevExpress.Web.ASPxHtmlEditor.Scripts
Assembly:JavaScript

Syntax
JavaScript |
function SetHtml(
html : String
);
|
Parameters
-
html
-
Type: String
A string value that specifies the HTML markup.

Example
Aspx |
<dx:ASPxHtmlEditor ID="ASPxHtmlEditor1" runat="server"
ClientInstanceName="htmlEditor">
</dx:ASPxHtmlEditor>
<br/>
<dx:ASPxButton ID="ASPxButton1" runat="server"
AutoPostBack="False" Text="ASPxButton">
<ClientSideEvents Click="function(s, e) {
htmlEditor.SetHtml('Sample Text');
}" />
</dx:ASPxButton>
|

See Also