We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Javascript error when using RTE

Hi,

When running a web app using RTE, (ASP.Net not classic) I have the following JavaScript error when cliking on the InsertImage or InsertVideo toolbar button (or when inserting a table) with a blank control.

<ej:RTE ID="RTE" runat="server">         
</ej:RTE>

Error :
Unhandled exception at line 10, column 1191066 in http://localhost:1677/Scripts/ej/ej.web.all.min.js
0x800a139e - JavaScriptExecutionError: IndexSizeError


If I add full tools options like below I have an error as soon as I click in the textarea.

<ej:RTE ID="RTE" runat="server">
 <Tools 
  Font="fontName,fontSize,fontColor,backgrounColor"
  Styles="bold, italic, underline, strikethrough"
  Alignment="justifyLeft, justifyCenter, justifyRight, justifyFull"
  Lists="unorderedList, orderedList"
  CopyPaste="cut, copy, paste"
  DoAction="undo, redo"
  Clear="clearFormat, clearAll"
  Links="createLink"
  Images="image,video"
  Tables="createTable, addRowAbove, addRowBelow, addColumnLeft, addColumnRight, deleteRow, deleteColumn, deleteTable"
  Scripts="superscript, subscript"
  Casing="upperCase, lowerCase"
  FormatStyle="format">
 </Tools>
</ej:RTE>

In either case, VS do not respond for a few moments, then give me a popup JS error, then I have to shut it hangs and I have to restart it completely.


My references (from precompiledassemblies/12.4.0.24/4.5.1) :

Syncfusion.Core
Syncfusion.EJ
Syncfusion.EJ.Web
Syncfusion.Shared.Base
Syncfusion.Shared.Web
Syncfusion.Tools.Base
Syncfusion.Tools.Web

My page registration :

<%@ Register Assembly="Syncfusion.EJ.Web, Version=12.4451.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>

My page header :

<script src='<%= Page.ResolveClientUrl("~/Scripts/jquery-1.10.2.min.js")%>' type="text/javascript"></script><script src='<%= Page.ResolveClientUrl("~/Scripts/jquery.easing.1.3.js")%>' type="text/javascript"></script><script src='<%= Page.ResolveClientUrl("~/Scripts/jquery.globalize.js")%>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Scripts/jsrender.js")%>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Scripts/ej/ej.web.all.min.js")%>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Scripts/ej/ej.webform.min.js")%>' type="text/javascript"></script>
<link rel='nofollow' href="~/Content/default-theme/ej.web.all.min.css" rel="stylesheet" />
<link rel='nofollow' href="~/Content/default-theme/ej.widgets.all.min.css" rel="stylesheet" />


1 Reply

RA Rajaveni Syncfusion Team February 12, 2015 03:24 PM UTC

Hi Alain,

We regret for the inconvenience caused.

This is a known issue in 12.4.0.24 version and this issue has been fixed in service pack release(12.4.0.30). Please find the details for this issue in the following incident.  And the incident link is given below:

www.syncfusion.com/support/directtrac/incidents/135280

Please follow up in the above incident for further assistance.

Regards,

Rajaveni



Loader.
Live Chat Icon For mobile
Up arrow icon