Just trying to implement the same control that you have hosted here for the forum, MVC Editor with SpellCheck. I can get a few peices of it working and I see references to "just press F7, the Ajax Spellcheck is embeded". But I can't find anyway to make it work. I currently have a mix of MVC and RadSpell.
<% Html.Telerik() .Editor().Tools(tools => tools.Clear()) .Name("MyEditor") .Render(); %> <telerik:RadSpell runat="server" ControlToCheck="MyEditor-value" IsClientID="true" HandlerUrl="/Telerik.Web.UI.DialogHandler.aspx" > </telerik:RadSpell>In firefox this will at least get me a running spellcheck dialog. However after it finds and "corrects" the spelling it doesn't actually update the textarea with the corrected text. In IE it just throws a javascript error and never really loads the check dialog.
Is there a working sample of using spellcheck on the MVC Editor using the MVC version 2010.2.930 build.
IE8/9
C#
Asp.Net MVC 2
Aaron
16 Answers, 1 is accepted
I am sending a sample project showing how to use RadSpell for ASP.NET Ajax in order to provide spell checking for Telerik Editor for ASP.NET MVC.
Greetings,Atanas Korchev
the Telerik team
<script type="text/javascript"> function onLoad() { $('iframe', this).attr('id', this.id + 'Iframe'); } </script>That was what IE was complaining about, the missing iFrame id.
Really appreciate it.
Aaron
Thanks!
Emily
Those are not known problems. Could you let us know what needs to be done in order to replicate them? You can modify the attached working project and send it back.
Regards,Atanas Korchev
the Telerik team
Thanks for your assistance,
Emily
The RadScriptManager indeed doesn't work well when placed in a partial view. To work around this I've moved it to the top of the master page and included a dummy RadSpell, just so it will register its scripts:
<body> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <%--Used only to include the scripts--%> <telerik:RadSpell id="dummySpell" runat="server" Visible="false" />...I've attached the modified project.
Best Regards,
Tsvetomir Tsonev
the Telerik team
I'm calling GetRadSpell('<%= RadSpell.ClientID %>');, but it just returns null. I'd like to call startSpellCheck client side.
Thanks in advance.
<
telerik:RadSpell ID="RadSpell" OnClientCheckFinished="checkFinished" runat="server" ControlToCheck="MessageBodyIframe" IsClientID="true" ButtonType="ImageButton" SpellCheckProvider="PhoneticProvider" HandlerUrl="~/Telerik.Web.UI.DialogHandler.axd" RegisterWithScriptManager="false" />
It is not clear where you are calling this code. Could you paste some code so we can try it? Ideally you can modify the attached project and send it back.
Greetings,Atanas Korchev
the Telerik team
Theoretically yes - you have the ability to retrieve and change the Editor's value via the client API, so there is no problem to use another component to manipulate (spell-check) the value.
http://demos.telerik.com/aspnet-mvc/editor/customtools
Kind regards,
Dimo
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Since I'm using the razor engine, I know I need to create a webform partial view for the spell control. Is there a way that I can jut put the script files either in the mvc script manager, or in script tags to download?
I would like to avoid converting razor pages to web forms, and mixing and matching syntax.
thanks
marc
RadSpell will work only in a web forms view because it is ASP.NET WebForms control.
Regards,Atanas Korchev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Currently we have no short-term plans to implement spell-checking mechanism in the MVC Editor.
Best wishes,
Dimo
the Telerik team
