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

Spellcheck multiple Textboxes

14 Answers 158 Views
SpellChecker
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 13 Jun 2011, 06:25 PM
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.

14 Answers, 1 is accepted

Sort by
0
Keith
Top achievements
Rank 1
answered on 13 Jun 2011, 08:59 PM
Decided that this route was not ideal and instead opted for using the RADRichTextBox control with spell checking.
0
Iva Toteva
Telerik team
answered on 15 Jun 2011, 02:37 PM
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
0
Jocelyn
Top achievements
Rank 1
answered on 06 Jul 2011, 02:57 PM
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);
}
0
Iva Toteva
Telerik team
answered on 12 Jul 2011, 03:40 PM
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!

0
Scott
Top achievements
Rank 1
answered on 20 Feb 2012, 03:41 PM
Any additional information on this topic?  I've got the same scenario with multiple text boxes in a WinForms project.
0
Iva Toteva
Telerik team
answered on 20 Feb 2012, 04:13 PM
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 >>
0
Pascal
Top achievements
Rank 1
answered on 18 Apr 2012, 02:59 PM
Any additional information on this topic?  I've got the same scenario with multiple richtextboxes in a silverlight projects.

Kind Regards
Pascal
0
Andrew
Telerik team
answered on 19 Apr 2012, 08:20 AM
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 >>

0
Vit100
Top achievements
Rank 1
answered on 15 Jan 2013, 04:50 PM
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
0
Andrew
Telerik team
answered on 17 Jan 2013, 02:44 PM
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.

0
Tony
Top achievements
Rank 1
answered on 11 Feb 2014, 01:51 PM
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?
0
Petya
Telerik team
answered on 14 Feb 2014, 12:05 PM
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).

0
Tony
Top achievements
Rank 1
answered on 14 Feb 2014, 04:07 PM
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!
0
Petya
Telerik team
answered on 19 Feb 2014, 09:51 AM
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
Tags
SpellChecker
Asked by
Keith
Top achievements
Rank 1
Answers by
Keith
Top achievements
Rank 1
Iva Toteva
Telerik team
Jocelyn
Top achievements
Rank 1
Scott
Top achievements
Rank 1
Pascal
Top achievements
Rank 1
Andrew
Telerik team
Vit100
Top achievements
Rank 1
Tony
Top achievements
Rank 1
Petya
Telerik team
Share this question
or