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

how to disable spell checking functionality?

5 Answers 188 Views
Editor
This is a migrated thread and some comments may be shown as answers.
farhan iqbal
Top achievements
Rank 1
farhan iqbal asked on 22 Oct 2010, 03:00 PM
I add a RadEditor control to my aspx page, Since spell checking functionality not required, I didn't turn it on. Now problem is, When I run my application, I got runtime error, i.e., The spellchecking functionality of RadEditor requires a dictionary file named 'en-US.tdf'.

Since, this functionality is not required, why would I suppose to add this file?

Can anyone please tell me, how to disabled spell checking functionality?

aspx source:
<telerik:RadEditor ID="radEditorBody" runat="server" SkinID="RadEditorSimple">
                    <Content>                    
                
                    </Content>
</telerik:RadEditor>

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 Oct 2010, 03:26 PM
Hi Farhan,

You are using an older version of RadEditor, which searches for this TDF file. You can fix the problem by removing the AjaxSpellCheck tool from the toolbar or upgrading to the latest version.

All the best,
Rumen
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
0
farhan iqbal
Top achievements
Rank 1
answered on 22 Oct 2010, 04:10 PM
Now, I think use older version.
Suggestion on your link wasn't helpful. You may view the code:
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                radEditorBody.EnsureToolsFileLoaded();
                RemoveButton("SpellCheck");
            }
        }

        public void RemoveButton(string name)
        {
            foreach (Telerik.Web.UI.EditorToolGroup group in radEditorBody.Tools)
            {
                EditorTool tool = group.FindTool(name);
                if (tool != null)
                {
                    group.Tools.Remove(tool);
                }
            }
        }
While debugging, I found that there isn't any control named "SpellCheck" in any of the group. Can you please specify the name?
0
Accepted
Rumen
Telerik team
answered on 22 Oct 2010, 04:39 PM
Hello Farhan,

The name of the spellchecker on the toolbar is AjaxSpellCheck, but not SpellCheck, e.g.

Please, try:
...
RemoveButton("AjaxSpellCheck");
...

Best regards,
Rumen
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
0
farhan iqbal
Top achievements
Rank 1
answered on 25 Oct 2010, 06:48 AM
Got it. Many thanks...

But now, facing another problem, i.e., it wasn't looked user friendly. I wonder if you're familiar with this issue.
0
Rumen
Telerik team
answered on 25 Oct 2010, 08:08 AM
Hi Farhan,

You should make sure that you use the latest version of RadControls for ASP.NET AJAX (Q2 2010 SP2). If you already use it, please, register the external skins of RadEditor:
- from a CDN server: CDN Support
- or from external css files: Registering an external skin of RadEditor?

If you still experience the problem after registering the external skins, please isolate it in a sample working project and send it for examination on our side through a support ticket.

Best regards,
Rumen
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
Tags
Editor
Asked by
farhan iqbal
Top achievements
Rank 1
Answers by
Rumen
Telerik team
farhan iqbal
Top achievements
Rank 1
Share this question
or