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

Issues with SpellCheckHandler.axd in web application with MVC

3 Answers 133 Views
Editor
This is a migrated thread and some comments may be shown as answers.
brewerdc
Top achievements
Rank 1
brewerdc asked on 06 Jul 2012, 06:41 PM
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

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Jul 2012, 01:30 PM
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.
0
brewerdc
Top achievements
Rank 1
answered on 12 Jul 2012, 06:27 PM
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
0
Rumen
Telerik team
answered on 17 Jul 2012, 12:06 PM
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.
Tags
Editor
Asked by
brewerdc
Top achievements
Rank 1
Answers by
Rumen
Telerik team
brewerdc
Top achievements
Rank 1
Share this question
or