Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Unable to use Ajax Control Toolkit HTML Editor

$
0
0

[VS Version: VS Pro 2013]

[.NET 4.5]

[Browser: IE 11.0.7]

Hi, 

I am trying to use the Ajax Control Toolkit to implement the HTML Editor control for an application backoffice. 

<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title></title></head><body><form id="form1" runat="server"><div><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager><cc1:Editor ID="Editor1" runat="server" /></div></form></body></html>

I am getting an error as described:

"Unhandled exception at line 168, column 5 in http://localhost/53984/WebForm1.aspx. 0x800a138f - JavaScript runtime error: Unable to get property 'UI' of undefined or null reference"

The error is at the line:

"$create(Sys.Extended.UI.HTMLEditor.ToolbarButton.Undo, {"activeModesIds":"0",downSrc":"/WebResource.axd?d=HaeI...."

I have tried to change the ScriptManager to the ToolkitScriptManager but it doesn't recognize the control 

<ajaxToolkit:ToolkitScriptManagerrunat="server"ID="sm1"/>

Any tips, or work arounds?

Thanks, 

Bruno


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>