HTMLEditor and HTMLEditorExtender ACT controls RRS feed

  • Question

  • User1027206698 posted

    Does anyone know if the HTMLEditor and HTMLEditorExtender controls in the Toolkit are 2 separate controls are do they both need each other to work?


    Saturday, September 8, 2018 7:23 PM

All replies

  • User-893317190 posted

    Hi conners,

    They should work separately.

    HTMLEditorExtender  can work without HtmlEditor ,but  it should extend a textbox just as follows.(please set the TargetControlID property of HtmlEditorExtender to the id of textbox).

    HTMLEditor need not to attach to textbox control. However, HtmlEditor is deprecated.https://github.com/DevExpress/AjaxControlToolkit/wiki/Editor

     <asp:TextBox  ID ="txtDescription"  TextMode ="MultiLine"  Columns ="70"  Rows ="6"  runat ="server" /> 
                             <ajaxToolkit:HtmlEditorExtender  ID ="HtmlEditorExtender1"  runat ="server"  TargetControlID ="txtDescription" > 
                                     <ajaxToolkit:Bold  /> 
                                     <ajaxToolkit:Italic  /> 
                                     <ajaxToolkit:Underline  /> 
                                     <ajaxToolkit:JustifyLeft  /> 
                                     <ajaxToolkit:JustifyCenter  /> 
                                     <ajaxToolkit:JustifyRight  /> 
                                     <ajaxToolkit:JustifyFull  /> 
                                     <ajaxToolkit:CreateLink  /> 
                                     <ajaxToolkit:UnLink  />                                 
                             </ajaxToolkit:HtmlEditorExtender >               

    For more information about HtmlEditor , you could refer to


    Best regards,

    Ackerly Xu

    Monday, September 10, 2018 5:54 AM