HI BruceWMorgan,
Before you use API getHTML() and SetHTML() you need to make sure Editor instance exists.
Please add the code below in your page and try again.
-
<script runat="server">
-
-
public string loaderName;
-
-
protected override void OnInit(EventArgs e)
-
{
-
base.OnInit(e);
-
System.Web.HttpBrowserCapabilities browser = Request.Browser;
-
string browserName = browser.Browser;
-
-
switch (browserName)
-
{
-
case "IE":
-
loaderName = "IE_Loader";
-
break;
-
case "Firefox":
-
loaderName = "Gecko_Loader";
-
break;
-
case "AppleMAC-Safari":
-
loaderName = "Safari_Loader";
-
break;
-
case "Opera":
-
loaderName = "Opera_Loader";
-
break;
-
default:
-
break;
-
}
-
-
}
-
-
</script>
-
-
<script src="CuteSoft_Client/CuteEditor/Scripts/spell.js"></script>
-
-
<script src="CuteSoft_Client/CuteEditor/Scripts/<%=loaderName %>/Loader.js"></script>
Regards,
Ken