Sorry - newbie question. I've tried to get my spell check working in my editor but I'm not quite there. When I test I spellchecker symbol but when I click on it I get two entries in the dropdown (both say English). I click on them I get one of three errors:
Spell Check Handler Server Error:12030
Spell Check Handler Server Error:12031
Spell Check Handler Server Error:405
I have got my .tdf file in the right location (en-US.tdf) and I know the application is finding the tdf. I'd be very grateful if someone could look at my code and tell me what I have done wrong.
In my web.config file I have the following entry in web,config in http handlers in system.web:
<
add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" />
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" />
<add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI" />
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" />
In system.webServer I have the following in handlers:
<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
<add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.3.1125.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
The relevant lines in the aspx file are:
(top of page)
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%
@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
(start of body / form)
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
</telerik:RadScriptManager>
radEditor Control
<telerik:RadEditor ID="txtVisitNotes" runat="server" EditModes="Design" Height="300px"
Skin="Telerik" Width="99%">
<Tools>
<telerik:EditorToolGroup>
<tools>
<telerik:EditorTool Name="AjaxSpellCheck" />
</tools>
</telerik:EditorToolGroup>
</Tools>
<Languages>
<telerik:SpellCheckerLanguage Code="en-US" Title="English" />
</Languages>
<Content>
</Content>
</telerik:RadEditor>
The relevent lines in the code behind look like this:
protected void Page_Load(object sender, EventArgs e)
{
txtVisitNotes.Modules.Clear();
lblMessage.Visible =
false;
if (!IsPostBack)
{
txtVisitNotes.Languages.Add(
new SpellCheckerLanguage("en-US", "English"));
txtVisitNotes.SpellCheckSettings.AjaxUrl =
"True";
txtVisitNotes.SpellCheckSettings.SpellCheckProvider =
SpellCheckProvider.PhoneticProvider;
thank you kindly
M