I cant add new dictionary to AjaxSpellCheck in RadEditor for Sharepoint 2010

2 posts, 0 answers
  1. Adam
    Adam avatar
    13 posts
    Member since:
    Nov 2011

    Posted 15 Aug 2012 Link to this post

    Hello,

    I have a problem with adding pl-PL Dictionary - downloaded from comunity supplied Dictionaries provided on this forum - here. The version of RadEditor I am using is : 6.3.0.0. I have added in the ToolsFile.xml located in :

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.0.0__1f131a624888eeed\Resources

    the following code:

     

    <languages>
    <language code="en-US" title="English (United States)" />
    <language code="pl-PL" title="Polish (Poland)" />
    </languages>

    I have also added pl-PL dictionary to :

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.3.0.0__1f131a624888eeed\Resources\App_Data\RadSpell

    In my web.config file I have added:

    <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2012.1.327.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
          <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2012.1.327.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

    in httpHandlers section.

    According to the documentation that should do, still I am receiving an error in javascript dialog when trying to check spelling using Polish language saying that application error has occured, suggesting that I should set customErrors to Off, to see details. Unfortunatly my customErrors setting is currently set to Off so I cant enable more details with this error. Searching for this error on this forum however led me to possible reason that might be proble with inability to load the dictionary file I am providing. Therefore my question is, if I should do anything else to configure the AjaxSpellCheck feature correctly?


  2. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 16 Aug 2012 Link to this post

    Hi,

    Since the Poland dictionary is not compatible with the Phonetic spellcheck provider, you should set in the \Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\6.4.0.0__1f131a624888eeed\Resources\ConfigFile.xml file:

    <property name="SpellCheckProvider">EditDistanceProvider</property>


    Greetings,
    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.

Back to Top