This is a migrated thread and some comments may be shown as answers.

radeditor spellcheck causes stack overflow asp.net ajax

4 Answers 41 Views
Editor
This is a migrated thread and some comments may be shown as answers.
colin
Top achievements
Rank 1
colin asked on 30 Jun 2015, 11:17 PM

I have a strange condition where I have a telerik:RadEditor in a popup, when I use the spell check it causes a stack overflow at line 0 after it is done.

This problem only happens in IE 8. 

  

 

4 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 02 Jul 2015, 08:16 AM

Hi Colin,

Can you reproduce this issue with our online demos: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx?

Also, are you using the latest version of the controls (Q2 2015 at the time of writing)? If not, could you try upgrading to see if this will resolve your issue?

Other ideas I can offer are:

If neither helps, can you post here a simple snippet that shows the problem?

Regards,

Marin Bratanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
colin
Top achievements
Rank 1
answered on 02 Jul 2015, 02:02 PM

One thing we are doing different than in any of the demos is that we are using a Tools File . 

I have updated the tools to the latest version and we still get the same result.

Here are the settings we have for the control.

 

<telerik:RadEditor ID="rdeNoteDetailEdit" runat="server" Width="99%" Height="250px"
                        EditModes="Design" StripFormattingOptions="AllExceptNewLines" 
                        ToolsFile="~\App_Data\BasicTools.xml"  
                        SpellCheckSettings-AllowAddCustom="true"  BorderWidth="1px" 
                        BorderColor="#A6A7AB" OnPreRender="rdeNoteDetailEdit_PreRender" 
                        Content='<%# Bind("NoteDetail") %>'>
                    </telerik:RadEditor>

 

 

ToolsFile="~\APP_Data\BasicTools.xml"

 ...

 

<root>
  <tools name="MainToolbar" dockable="true" enabled="true">
    <tool name="Cut" />
    <tool name="Copy" />
    <tool name="Paste" shortcut="CTRL+!"/>
    <tool name="Undo" />
    <tool name="Redo" />
    <tool name="AjaxSpellCheck"/>
  </tools>
</root>

 

 

0
colin
Top achievements
Rank 1
answered on 02 Jul 2015, 03:24 PM

I tried implementing the changes suggested, and the problem still exists. 

Where the code throws an exception is within the MicrosoftAjax.js file within Telerik.Web.UI.WebResource.axd 

Is it possible there was something updated or not updated in your version of the MicrosoftAjax.js file? 

The exception is thrown once the spell check is complete. 

 

0
Ianko
Telerik team
answered on 06 Jul 2015, 10:19 AM
Hello Colin,

I tried to recreate the same scenario by creating a sample ASP.NET page, but to no avail. I suggest examining the attached sample, and modify it to the point where the same is reproducible. Achieveing that and providing back the project, will enable us to investigate and determine what might be the problem.

On a side note, the MicrosoftAjax.js resource is not delivered by Telerik assemblies, but from the native ASP.NET ones.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
colin
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
colin
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or