i am new in asp.net and i am working on the thing where i had to add HTML Editor Extender (Ajax Toolkit). but it does not appear correctly. Click [here] (http://s24.postimg.org/56f3vdv0l/error.png)! I used this code...-->
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div>
<cc1:Editor ID="Editor1" runat="server" width="600px" Height="200px"/>
<asp:Button ID="Button1" runat="server" Text="Submit" onclick="Button1_Click" /><br/><br/>
<asp:Label ID="Label1" runat="server"
Text=""></asp:Label>
</div>
</form>
After a lot of searching, I found my solution to the same problem... use this:
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></ajaxToolkit:ToolkitScriptManager>
instead of:
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
Good luck!
This would allow use of the Editor control, rather than extending the Textbox (which I actually like that method as well).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With