Home > DeveloperSection > Forums > Unknown server tag “ajaxToolkit:HtmlEditorExtender”
Tanuj Kumar

Total Post:134

Posted on    November-20-2014 10:34 PM


 1 Reply(s)
 1270  View(s)
Rate this:

I am using ajaxcontrols and in that all controls are working well But I had not found any of the control named as HtmlEditorExtender so I had just copied this tag in .html page


<%@ Register TagPrefix="ajaxToolkit" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>

<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="Server" />

<ajaxToolkit:HtmlEditorExtender TargetControlID="txtComments" runat="server" />

<asp:TextBox ID="txtComments" runat="server"></asp:TextBox>

here is working fine but the problem arises on , then i downloaded Nuget.tool on reading some of the problems facing just like me but still its not working


what shall I do?


My Web.config file is




<compilation debug="true" targetFramework="4.0"/>



    <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />


  <sanitizer defaultProvider="AntiXssSanitizerProvider">


      <add name="AntiXssSanitizerProvider" type="AjaxControlToolkit.Sanitizer.HtmlAgilityPackSanitizerProvider" />






Sumit Kesarwani

Total Post:378

Posted on    November-20-2014 11:45 PM

Hi Tanuj, 

add <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="Server" />


    <%@ Register



TagPrefix="HTMLEditor" %>

add folowing tag in your web.config




<compilation debug="true" targetFramework="4.0" />



    <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />



and in page


<ajaxToolkit:HtmlEditorExtender ID="replyBody_HtmlEditorExtender" runat="server" Enabled="True" OnImageUploadComplete="saveFile"  ClientIDMode="AutoID" EnableSanitization="true"  TargetControlID="replyBody">

Don't want to miss updates? Please click the below button!

Follow MindStick