Issues with SpellCheckHandler.axd in web application with MVC

4 posts, 0 answers
  1. brewerdc
    brewerdc avatar
    20 posts
    Member since:
    May 2007

    Posted 06 Jul 2012 Link to this post

    Hello,

    We've recently upgraded to VS 2010 and have started dabbling in some MVC.  We currently have both non-MVC pages co-mingled with MVC pages.  We seem to have run into an issue with the RadEditor's SpellChecker.  The error message we receive is below.  Followed by our web.config and skin file (used for all editors in our application).  I've done some research to try to fix the problem without having to post a new thread but we're still unable to find the solution to our problem.  Any ideas?  If you need anything else please let us know.

    Error Message:
    "Message from webpage:
    The spellchecking functionality requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information.
    /Telerik.Web.UI.SpellCheckHandler.axd"

    Web.config:
    <system.web>   
       <httpHandlers>
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false" />
          <add path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=6.1.12.611, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" validate="true" />
       </httpHandlers>
    </system.web>
    <system.webServer>
       <validation validateIntegratedModeConfiguration="false" />
       <modules runAllManagedModulesForAllRequests="true" />
       <handlers>
         <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler"/>
         <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" />
         <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
         <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=6.1.12.611, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode" />
       </handlers>
    </system.webServer>


    Skin file:
    <telerik:RadEditor runat="server" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" Width="99%"
    ToolsFile="~/RadControls/Editor/ToolsFile_slim.xml" EnableResize="False"
    ContentFilters="RemoveScripts,IECleanAnchors,ConvertFontToSpan,IndentHTMLContent,ConvertToXhtml" 
    StripFormattingOptions="MSWordRemoveAll" DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" 
    SpellCheckSettings-AjaxUrl="/Telerik.Web.UI.SpellCheckHandler.axd"  ExternalDialogsPath="~/RadControls/EditorDialogs"  />


    Thanks!
    Daniel Brewer
  2. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 10 Jul 2012 Link to this post

    Hello,

    Could you please test the following project MvcApplication1-Net4-0.zip?

    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.
  3. brewerdc
    brewerdc avatar
    20 posts
    Member since:
    May 2007

    Posted 12 Jul 2012 Link to this post

    Hi Rumen,

    Thanks for the reply.  I've loaded the attached solution and the spellcheck works correctly.  I've since taken the possibility that the skin file could be causing issues and added the DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" SpellCheckSettings-AjaxUrl="/Telerik.Web.UI.SpellCheckHandler.axd" properties in-line on the actual RadEditor but we're still seeing the same problematic behavior.  

    Any ideas?

    Thanks again,
    Daniel
  4. Rumen
    Admin
    Rumen avatar
    14419 posts

    Posted 17 Jul 2012 Link to this post

    Hello,

    My suggestion is to compare the projects and see what the differences are. You can also inspect with Fiddler / Firebug the handler requests and try with different paths until the spellchecker locate its handler.

    Best regards,
    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