Radeditor Bad Escaped Character

1 Answer 12 Views
Editor Input Spell
Michael
Top achievements
Rank 1
Michael asked on 18 Jul 2025, 04:30 PM

In our online application using the Radeditor I includetext like:  "the 17th"

I get the following error:

Uncaught SyntaxError: Bad escaped character in JSON at position 986 (line 1 column 987) at JSON.parse (<anonymous>) at Telerik.Web.UI.SpellCheckService._processResponse () at Array.<anonymous> () at at Sys.Net.WebRequest.completed () at XMLHttpRequest._onReadyStateChange ()
 

The editor then locks up and I cannot continue.

This does not happen in the online demo.

Any ideas?

 

 

 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Jul 2025, 08:49 AM | edited on 21 Jul 2025, 09:03 AM

Hi Michael,

Thank you for contacting us.

I tested the described scenario, but unfortunately, I was unable to replicate the issue in our live demos here:

To further troubleshoot this, please follow these steps:

  1. Upgrade your Telerik UI for ASP.NET AJAX to the latest version and test the scenario again.

  2. Try changing the SpellChecker provider by setting:

    • SpellCheckSettings-SpellCheckProvider="EditDistanceProvider"

    • SpellCheckSettings-SpellCheckProvider="PhoneticProvider"

After performing these steps, if the issue persists, please provide:

  • The exact HTML content you are testing.

  • Your complete RadEditor configuration settings.

This information will help us replicate and diagnose the issue further.

Looking forward to your feedback.

Regards,
Rumen
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
Michael
Top achievements
Rank 1
commented on 22 Jul 2025, 12:48 PM

We added the line:

RadEditor1.SpellCheckSettings.SpellCheckProvider = SpellCheckProvider.EditDistanceProvider;

That fixed the problem.

Thank you!

mike

Rumen
Telerik team
commented on 22 Jul 2025, 12:57 PM

Thank you for the follow-up and confirming the solution, Mike! I am glad that the issue has been resolved!
Tags
Editor Input Spell
Asked by
Michael
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or