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

Javascript error invoking spell checker

1 Answer 90 Views
Editor
This is a migrated thread and some comments may be shown as answers.
ian webster
Top achievements
Rank 1
ian webster asked on 10 Oct 2011, 02:03 PM
When I press the spell check button in the rad editor I get the following JS error...

            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
            <h2> <i>No dictionary loaded. Set the DictionaryPath property from the spell checker settings or copy the dictionaries to ~/App_Data/RadSpell/</i> </h2></span>
            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
   <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<b> Exception Details: </b>System.ArgumentException: No dictionary loaded. Set the DictionaryPath property from the spell checker settings or copy the dictionaries to ~/App_Data/RadSpell/<br><br>
<b>Source Error:</b>
<table width=100% bgcolor="#ffffcc">
<tr><td>

I've seen various other posts on this issue and tried the following:
  • Making sure the http handler is set in the web.config
  • Copying the dictionary file into /App_Data/RadSpell/
  • Given the 'everyone' user full access to the RadSpell folder and the dictionary file in it
  • Setting the related spell checker tags in side the rad editor: 
    <SpellCheckSettings DictionaryLanguage="en-GB" DictionaryPath="~/App_Data/RadSpell/" />
    <Languages>
        <telerik:SpellCheckerLanguage Code="en-GB" Title="English" />
    </Languages>
    I tried Languages on it's own, SpellCheckerSettings on it's own and also both of them together
  • I've tried programmatically adding the language on page load...
    txtDescription.Languages.Add(new Telerik.Web.UI.SpellCheckerLanguage("en-GB", "English"));
The project doesn't use any kind of url re-writing, it's asp.net 4.0 and I'm using the very latest version of the rad tools.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Oct 2011, 03:34 PM
Hi Ian,

Please, make sure that you are using the latest official build 2011.2 915 of RadControls for ASP.NET AJAX.
For your convenience I have attached a sample runnable project that works as expected on my end.
Here is a video demonstrating my test: http://screencast.com/t/3PGquskXYzyS.

Best wishes,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
ian webster
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or