RadSpell getting - Input string was not in a correct format

6 posts, 0 answers
  1. Rodney
    Rodney avatar
    40 posts
    Member since:
    Mar 2015

    Posted 07 Jan Link to this post

    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

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 11 Jan Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rodney
    Rodney avatar
    40 posts
    Member since:
    Mar 2015

    Posted 12 Jan in reply to Marin Bratanov Link to this post

    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 web.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

  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 13 Jan Link to this post

    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
  6. Rodney
    Rodney avatar
    40 posts
    Member since:
    Mar 2015

    Posted 13 Jan in reply to Marin Bratanov Link to this post

    Thanks
  7. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 14 Jan Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017