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

[Solved] Disable spellcheck

3 Answers 326 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jan Hansen
Top achievements
Rank 1
Jan Hansen asked on 08 Oct 2008, 02:37 PM
Hi,

How can I disable the spellchecking feature of radeditor?

Right now I get an error message about copying en-US.tdf to /App_data, but I'd rather just disable the whole thing. How can I do that ?

Best regards,

Jan Hansen

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 08 Oct 2008, 02:58 PM
Hi Jan Hansen,

To disable the spellchecking part of the editor, simply remove the AjaxSpellCheck tool from the editor toolbar. If you are using the default toolbar configuration, you can try the following code:

RadEditor1.EnsureToolsFileLoaded() 
RadEditor1.Tools(0).Tools.RemoveAt(1) 

The above line removes the second tool from the first editor toolbar, which is the spellchecker in the default configuration. If you are using a custom tools file, simply delete the line with the AjaxSpellCheck tool.

Kind regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ivan
Top achievements
Rank 1
answered on 05 Jan 2010, 08:18 AM
I believe this functionality is confusing, and it must frustrate other developers besides me. When you use the smart tag on the RadEditor one of the options is  "enable spell checking". If you dont enable the feature you would not expect errors concering a missing spell checking file!
As with your other controls the functionality simply lacks usability.

Regards

Ivan
0
Rumen
Telerik team
answered on 05 Jan 2010, 01:20 PM
Hello Ivan,

RadEditor loads its toolbar configuration from the ToolsFile.xml file embedded in the Telerik.Web.UI.dll. The AjaxSpellCheck tool is available in this ToolsFile.xml file and the spellcheck icon will be displayed on the toolbar even if the developer does not enable the spellchecker from the smart tag of RadEditor.

The error messages concerning a missing dictionary file are not thrown any more in the recent versions of Telerik.Web.UI, but it is up to the developer to hide the spellcheck icon if the spellchecker will be not used.

Sincerely,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Jan Hansen
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Ivan
Top achievements
Rank 1
Share this question
or