Spellcheck multiple Textboxes

15 posts, 0 answers
  1. Keith
    Keith avatar
    17 posts
    Member since:
    Mar 2011

    Posted 13 Jun 2011 Link to this post

    How can I have it check more than one Textbox at a time?  The current approach seems rather inefficient for situations where I have more than one Textbox to check.  This also seems like a very common Use Case.
  2. Keith
    Keith avatar
    17 posts
    Member since:
    Mar 2011

    Posted 13 Jun 2011 Link to this post

    Decided that this route was not ideal and instead opted for using the RADRichTextBox control with spell checking.
  3. DevCraft banner
  4. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 15 Jun 2011 Link to this post

    Hello Keith,

    I can see that your first question is not pending any more, but still: you can find more information on spell checking custom controls in our online documentation.

    Kind regards,
    Iva
    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
  5. Jocelyn
    Jocelyn avatar
    3 posts
    Member since:
    Jun 2011

    Posted 06 Jul 2011 Link to this post

    Hi

    I have a page that has multiple textbox controls required spellcheck by a click of a button. They can't be combined into a richtextbox. I look at your link to the documentation but I am not sure how that applies to this scenario.

    What I like to do is to have one spellcheck dialog for all the textbox controls for the page. So, they can be checked at the same time. Another option is to have spellchecker spell check each textbox one at a time. Subsequence textbox spellchecker will display after the previous one is closed. For the second option, I can't find in the documentation where I can hook up to the close event of the spellchecker dialog so I can invoke another one for the next textbox.

    In my test project, I try the following and 3 spellchecker dialogs pop up at the same time. However, only the dialog for txt3 replaces the wrong word correctly. txt1 and txt2 are not replaced with suggestion.

    Maybe there are other ways to accomplish this and any help will be helpful. Thanks.
    Jocelyn


    private void btnSpellCheck_Click(object sender, RoutedEventArgs e)
    {
       RadSpellChecker.Check(txt1, SpellCheckingMode.AllAtOnce);
       RadSpellChecker.Check(txt2, SpellCheckingMode.AllAtOnce);
       RadSpellChecker.Check(txt3, SpellCheckingMode.AllAtOnce);
    }
  6. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 12 Jul 2011 Link to this post

    Hi Jocelyn,

    Thank you for bringing up the issue again. On second glance, this scenario is indeed not so easy to implement and it seems that it is quite a common one at that, too. We will take it into consideration with regard to extending the API in the near future.

    Greetings,
    Iva
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  7. Scott
    Scott avatar
    1 posts
    Member since:
    Feb 2008

    Posted 20 Feb 2012 Link to this post

    Any additional information on this topic?  I've got the same scenario with multiple text boxes in a WinForms project.
  8. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 20 Feb 2012 Link to this post

    Hi Scott,

    RadSpellChecker for WinForms is a different product than RadSpellChecker for Silverlight/WPF.
    Please, post your questions about the spell checker for WinForms in the WinForms forum.

    All the best,
    Iva Toteva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  9. Pascal
    Pascal avatar
    3 posts
    Member since:
    Nov 2010

    Posted 18 Apr 2012 Link to this post

    Any additional information on this topic?  I've got the same scenario with multiple richtextboxes in a silverlight projects.

    Kind Regards
    Pascal
  10. Andrew
    Admin
    Andrew avatar
    140 posts

    Posted 19 Apr 2012 Link to this post

    Hi Pascal,

    We've made a sample project containing 3 TextBox controls and a button. When you click the button the are all spellchecked. This can be done for RadRichTextBox controls too. Please revise the attached example.
    NOTE: If you want to use several RadRichTextBox controls and spellcheck them, you can just set IsSpellCheckingEnabled="true" for each RadRichTextBox. This is much easier than using RadSpellChecker.

    Regards,
    Andrew
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  11. Vit100
    Vit100 avatar
    66 posts
    Member since:
    Oct 2012

    Posted 15 Jan 2013 Link to this post

    Hi guys,
    it would be more convinient if RadSpellChecker could accept list of controls which should be checked, similar how ASP spellchecker works - <telerik:RadSpell ID="spell1" runat="server" ControlsToCheck="textarea1,textarea2,textarea3"
    IsClientID="true" ButtonText="Check all"></telerik:RadSpell>
    </form>


    See: http://demos.telerik.com/aspnet-ajax/spell/examples/multiplechecks/defaultcs.aspx
  12. Andrew
    Admin
    Andrew avatar
    140 posts

    Posted 17 Jan 2013 Link to this post

    Hi Vitaliy,

    Thank you for your suggestion. We will consider implementing this functionality at some point.

     

    All the best,
    Andrew
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  13. Tony
    Tony avatar
    24 posts
    Member since:
    Nov 2011

    Posted 11 Feb 2014 Link to this post

    The attached Telerik solution is not very practical. Imagine having numerous text boxes (30 to 40) on a screen... the user will get numerous messages "The spell check is complete". That just creates a horrible user interface.

    Any plans to make this control work seamlessly with multiple controls? It seems Vit100 suggestion might be a better alternative than the one provided. Or is there another solution / stategy? Our shop uses the Telerik controls heavily and I would love to be able to use the spell checker.
    Thoughts?
  14. Petya
    Admin
    Petya avatar
    975 posts

    Posted 14 Feb 2014 Link to this post

    Hello,

    At this point spellchecking seamlessly several controls is not included in our plans. However, RadSpellChecker allows you to specify various window settings, including whether the alert showing the check is completed to be shown. Maybe you can disable the alert and enable it prior the last control in your application is spellchecked.
    RadSpellChecker.WindowSettings.ShowAlertWhenSpellCheckingCompleted = false;

    I hope this helps!

    Regards,
    Petya
    Telerik

    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

  15. Tony
    Tony avatar
    24 posts
    Member since:
    Nov 2011

    Posted 14 Feb 2014 in reply to Petya Link to this post

    Thanks Petya, this indeed is very helpful. I set this flag and the popup confirmation no longer shows... excellent.

    However, the Spell Checking window say "The spelling check is complete" in red after it finishes spell checking each textbox instead of simply moving on to the next text box. I really don't care about this message - is there anyway to not show this message so the spell checking can be seamless? We're soooo close!
  16. Petya
    Admin
    Petya avatar
    975 posts

    Posted 19 Feb 2014 Link to this post

    Hi,

    Unfortunately such customization option is not currently available. We think that the scenario would be a nice enhancement of RadSpellChecker and will increase the priority of the task in our backlog. Still, I cannot say if we will be able to include this in the plan for the next release.

    Let me know if you have any other questions.

    Regards,
    Petya
    Telerik
Back to Top
DevCraft banner