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

How to force default dictionary in spellchecker when several languages used+ multi editors pb with spellchecker

2 Answers 50 Views
Editor
This is a migrated thread and some comments may be shown as answers.
CSurieux
Top achievements
Rank 2
CSurieux asked on 24 Aug 2009, 12:05 PM
Hello,

1st Question: I installed 3 dictionaries for radEditor, as I use edt.Languages.Add(...) it works ok and I get the choice for my 3 languages, but how to select the default one ?

Second question, I am using several editors in my page and using the optimizing ToolProviderID to use one Toolbar (from first editor ceated). But I have my spellchecker language list filled only for first editor. Even if I force Language.Add for each editor in page.

3rd question, should I redefine for each editor the differnt managers: ImageManager, DocumentManager, etc. ?

Last question: is there a way to limit the number of chars in the editor content in such a way the user get a warning clientside ?

Many thanks for fast answer.

Best regars

CS







2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Aug 2009, 07:27 AM
Hi Christian,

Straight to the points:
1) When the Languages property is set the spellchecker is rendered on the toolbar as a splitbutton. When the user clicks on the spell splitbutton then it expands its dropdown and the user can choose the desired language.
The initial behavior of the splitbuttons of RadEditor is to expand their dropdowns when they are clicked for the first time but not to execute some command.

2) The current implementation of the ToolProviderID functionality does not apply the collections of the parent editor to the child editors. This means that the spell languages listed in the spellchecker dropdown of the parent editor will be not inherited by the child editors. The enhancement of this property is logged in our ToDo list but I cannot provide an estimate when it will be done.

In your scenario you should not set the ToolProviderID and manually define the languages for each editor.

3) You can have editors with different toolbar set of tools. Please see the following live demo for more information: Setting Toolbars. You can learn how to remove tools here.

4) For your convenience I have attached an example demonstrating how to create a symbol counter and restricted for multiple editors.

Best regards,
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.
0
CSurieux
Top achievements
Rank 2
answered on 27 Aug 2009, 08:34 AM
Many thanks Rumen,

So I will throw away the ToolProviderID waiting next improvment.

Best regards
CS
Tags
Editor
Asked by
CSurieux
Top achievements
Rank 2
Answers by
Rumen
Telerik team
CSurieux
Top achievements
Rank 2
Share this question
or