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

RAD Telerik MVC Editor Spell check

6 Answers 196 Views
Editor
This is a migrated thread and some comments may be shown as answers.
sowmya
Top achievements
Rank 1
sowmya asked on 24 Dec 2010, 10:16 PM

When I click on RAD Telerik MVC Editor control spell check icon I get an error message "Spell Check Handler Server Error:500
System.Web.HttpException (0x80004005): A public action method 'Telerik.Web.UI.SpellCheckHandler.axd' was not found"

In web.config file i have declared httpHandler, but still it's not working

 

<

 

 

httpHandlers>
<add path="Telerik.Web.UI.DialogHandler.axd" verb="*" type="Telerik.Web.UI.DialogHandler" validate="false" /><add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/><add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
</
httpHandlers>

 

 

 

 

Please let me know if any solution for this problem.

6 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Dec 2010, 05:13 PM
Hello Sowmya,

You should also make sure that the following handlers exist in the web.config:

 <system.webServer>
...
<handlers>
<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler"/>
<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_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
</handlers>
</system.webServer>


Can you please test the project attached here and let me know if it works as expected on your side? The project is fully runnable and contains the Telerik.Web.UI.dll in the bin folder.


Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
sowmya
Top achievements
Rank 1
answered on 29 Dec 2010, 12:53 AM

Thank you for sharing the code.
Even after making the below change i still get the error when i click on spell check icon in the Editor.

Please find below the error message.  when i click on spell check icon in the editor i think it's looking for 'Telerik.Web.UI.SpellCheckHandler.axd' file. Let me know what changes has to be done.

Spell Check Handler Server Error:500
System.Web.HttpException (0x80004005): A public action method 'Telerik.Web.UI.SpellCheckHandler.axd' was not found on controller 'ST.P.Areas.SA.Controllers.MessagesController'.

   at System.Web.Mvc.Controller.HandleUnknownAction(String actionName)

   at System.Web.Mvc.Controller.ExecuteCore()

   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)

   at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)

   at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()

   at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()

   at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _)

   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()

   at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d()

   at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f)

   at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action)

   at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)

   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)

   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
---------------------------
OK  
---------------------------

Thank you

 

0
Rumen
Telerik team
answered on 31 Dec 2010, 01:51 PM
Hi Sowmya,

Can you please add the following two <location> entries to the web.config:
Copy Code
<location path="Telerik.Web.UI.SpellCheckHandler.axd">
  <system.web>
    <authorization>
      <allow users="*"/>
    </authorization>
  </system.web>
</location>
<location path="Telerik.Web.UI.DialogHandler.aspx">
  <system.web>
    <authorization>
      <allow users="*"/>
    </authorization>
  </system.web>
</location

After that set SpellCheckSettings-AjaxUrl="/Telerik.Web.UI.SpellCheckHandler.axd" where the path starts with the  /  symbol, e.g.

<telerik:RadEditor ID="RadEditor1" SpellCheckSettings-AjaxUrl="/Telerik.Web.UI.SpellCheckHandler.axd"   DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd"  runat="server">
            <CssFiles><telerik:EditorCssFile Value="~/empty.css" /></CssFiles>
</telerik:RadEditor>

If the problem still persists, please, open a support ticket and send a sample working project which demonstrates the error.

Best regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
sowmya
Top achievements
Rank 1
answered on 08 Jan 2011, 01:41 AM
Hi Rumen,

Thanks for helping me to fix the issue.
<telerik:RadEditor ID="RadEditor1" SpellCheckSettings-AjaxUrl="/Telerik.Web.UI.SpellCheckHandler.axd"   DialogHandlerUrl="~/Telerik.Web.UI.DialogHandler.axd"  runat="server">

code highlighted above helped me to fix issue.

Thanks,
Rumen

0
sowmya
Top achievements
Rank 1
answered on 10 Jan 2011, 08:32 PM
Hi Rumen,

Can we have Grammer check in Telerik Rad Editor?
In our application we need to have a spell check and grammer check both? How can this be implemented using telerik Rad editor?
0
Rumen
Telerik team
answered on 12 Jan 2011, 03:27 PM
Hi,

RadSpell does not offer the requested grammar checking. We have discussed the idea of extending the spellchecker to offer grammar checking, but we postponed it indefinitely due to the performance impact such control would have on the page and on the server.

All the best,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
sowmya
Top achievements
Rank 1
Answers by
Rumen
Telerik team
sowmya
Top achievements
Rank 1
Share this question
or