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

3 posts, 0 answers
  1. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 24 Aug 2009 Link to this post


    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


  2. Rumen
    Rumen avatar
    12788 posts

    Posted 27 Aug 2009 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
  4. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 27 Aug 2009 Link to this post

    Many thanks Rumen,

    So I will throw away the ToolProviderID waiting next improvment.

    Best regards
Back to Top