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

RadSpell getting - Input string was not in a correct format

5 Answers 64 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Rodney
Top achievements
Rank 2
Rodney asked on 07 Jan 2016, 08:28 PM

I'm kind of at a loss as to what is going on. I have RadSpell enabled on the vast majority of my RadEditors, but on 2 of them, I'm getting weird results. In production, it just displays the yellow box that says you are in Spell Checking mode but the buttons are disabled. (See the attached screen shot). In my development environment, it is actually throwing an error with the inner exception of "Input string was not in a correct format."

The error occurs even if the text box is empty.

Here is the definition of the RadEditor with the

<telerik:RadEditor ID="tbCommentEdit" runat="server" EditModes="Design" Visible="true"
    MaxTextLength="4000" SkinID="DefaultSetOfTools" ContentAreaMode="Div" OnClientInit="CharCountInit"
    Height="200px" Width="78%" Style="background-color: White; display: inline-block;"
    Skin="Windows7">
    <Tools>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="AjaxSpellCheck" />
            <telerik:EditorTool Name="Cut" />
            <telerik:EditorTool Name="Copy" />
            <telerik:EditorTool Name="Paste" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="SelectAll" />
            <telerik:EditorTool Name="FindAndReplace" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="InsertDate" />
            <telerik:EditorTool Name="InsertTime" />
        </telerik:EditorToolGroup>
    </Tools>
    <Modules>
        <telerik:EditorModule Name="RadEditorStatistics" Visible="true" Enabled="true"></telerik:EditorModule>
    </Modules>
</telerik:RadEditor>

If anyone as suggestions I would appreciate it.

 

Rodney

 

5 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 11 Jan 2016, 08:11 AM

Hello Rodney,

Based on this information I can suggest the following:


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
Rodney
Top achievements
Rank 2
answered on 12 Jan 2016, 08:27 PM

Marin,

Tried all of the above with no difference. Here is what I found:

  • Version 2015.3.1111.45 of the dll's
  • Double checked the handlers in .config, it's below
  • Added the <location> to the web.config
  • Verified the dictionaries 
  • Changed to iFrame from div.

 

<telerik:RadEditor ID="tbCommentEdit" runat="server" EditModes="Design" Visible="true"
    MaxTextLength="4000" SkinID="DefaultSetOfTools" ContentAreaMode="Iframe" OnClientInit="CharCountInit"
    Height="200px" Width="78%" Style="background-color: White; display: inline-block;" OnClientLoad="OnClientLoad"
    Skin="Windows7">
    <CssFiles>
        <telerik:EditorCssFile Value="" />
    </CssFiles>
    <Tools>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="AjaxSpellCheck" />
            <telerik:EditorTool Name="Cut" />
            <telerik:EditorTool Name="Copy" />
            <telerik:EditorTool Name="Paste" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="SelectAll" />
            <telerik:EditorTool Name="FindAndReplace" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="InsertDate" />
            <telerik:EditorTool Name="InsertTime" />
        </telerik:EditorToolGroup>
    </Tools>
    <Modules>
        <telerik:EditorModule Name="RadEditorStatistics" Visible="true" Enabled="true"></telerik:EditorModule>
    </Modules>
</telerik:RadEditor>

 

 

  <httpHandlers>
    <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
    <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
    <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
    <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
    <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
  </httpHandlers>
</system.web>

 

  <handlers>
    <remove name="ChartImage_axd" />
    <remove name="Telerik.ReportViewer.axd_*" />
    <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
    <remove name="Telerik_Web_UI_DialogHandler_aspx" />
    <remove name="Telerik_RadUploadProgressHandler_ashx" />
    <remove name="Telerik_Web_UI_WebResource_axd" />
    <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
    <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
    <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
    <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
    <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
    <add name="Telerik.ReportViewer.axd_*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=9.2.15.1126, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" path="Telerik.ReportViewer.axd" verb="*" preCondition="integratedMode" />
  </handlers>
</system.webServer>

 

Thanks for you additional thoughts.

Rodney

0
Marin Bratanov
Telerik team
answered on 13 Jan 2016, 07:34 AM

Hi Rodney,

In this case my best advice is to open a support ticket and send us a small runnable solution where we can observe this behavior.

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
Rodney
Top achievements
Rank 2
answered on 13 Jan 2016, 05:43 PM
Thanks
0
Marin Bratanov
Telerik team
answered on 14 Jan 2016, 01:07 PM
Let's discuss this further in the support ticket you have opened. I would appreciate it if you post the final answer here once we reach a conclusion in case anyone else has a similar problem.
Tags
Spell
Asked by
Rodney
Top achievements
Rank 2
Answers by
Marin Bratanov
Telerik team
Rodney
Top achievements
Rank 2
Share this question
or