Hi,
I recently installed VS Express 2013 for web. I opened a webforms project and installed AJAXControl tool kit. I went through some msdn/blog pages to implement a Rich Text editor.
<asp:TextBox ID="txtComments"TextMode="MultiLine"Columns="120"Rows="16"runat="server"/>
<ajaxToolkit:HtmlEditorExtenderID="htmlEditorExtender1"TargetControlID="txtComments"DisplaySourceTab="true"runat="server">
<Toolbar><ajaxToolkit:Undo/><ajaxToolkit:Redo/><ajaxToolkit:Bold/><ajaxToolkit:Italic/><ajaxToolkit:Underline/></Toolbar>
</ajaxToolkit:HtmlEditorExtender>
Also, i have this section in my master page under form tag.
<ajaxToolkit:ToolkitScriptManager runat="server">
<Scripts>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="bootstrap" />
</Scripts>
</ajaxToolkit:ToolkitScriptManager>
When i run the solution,
In firefox browser, i can see the text box, but with out the toolbar.
In IE, it thorws the below error in ScriptResource.axd -
AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.
I tried several options, but nothing worked.
1. Referring the AJAX control tool kit 4.0 dll.
2. Changing the target framwework from 4.5 to 4.0 did not work.
3. Changing the script references (Somebody suggested Removing MSAjax, and deleting the attribute [Assemlby = "System.Web"] in the <script reference> tag.
Any help will be greatly appreciated.
Thanks
Jawahar