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

Spell check for multiple text box in server side via toolbar in master page

9 Answers 141 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Chuanbo
Top achievements
Rank 1
Chuanbo asked on 23 Feb 2008, 03:44 AM
Hi,
I have seen the demo for check multiple textbox on client side. but we need to put the RadSpell check on toolbar of the Master Page.

and for every content page, i would set the ControlToCheck property dynamically by programme, but this only support single control, how to support multiple text control to check?

another question associated with this is that, since i am using RadToolBar, i want to set the spell check as an image button. but when I set the ButtonType as ImageButton, it doenst work.

thanks in advance.

9 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 26 Feb 2008, 04:14 PM
Hi Chuanbo,

The ControlToCheck property allows the spellchecker to spellcheck only one element on time.
If you want to spellcheck multiple elements on time then please review the solution provided in the following live example: Checking Multiple Controls. The solution is client-side based and if needed you can output the JavaScript code from the server by using the Page.RegisterStartupScript method.

In regards to your second question: The ButtonType = ImageButton will render the spellcheck button as image on the page. However, you want to add a spellcheck button on the RadToolBar control which is different scenario. You need to add a custom button to the RadToolBar, to hide the spellchecker with ButtonType="None" and in the onclick event of the RadToolBar button to fire the spellchecker with:

       var spell = GetRadSpell('<%= spell1.ClientID %>');
       spell.startSpellCheck();


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chuanbo
Top achievements
Rank 1
answered on 28 Feb 2008, 04:11 AM
thanks,this helps. I will keep update we when implement the feature accorrding to your tips
0
Rumen
Telerik team
answered on 28 Feb 2008, 08:47 AM
You are welcome, Chuanbo.

Let me know if you encounter any problems with our controls.


Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Robert Strazzarino
Top achievements
Rank 1
answered on 06 May 2008, 11:06 PM
I'd like to request that you add another property to the RadSpell called "ControlsToCheck" which lets you comma separate a few textbox ID's.  You could make it flag a compile time error if both properties "ControlToCheck" and "ControlsToCheck" are filled.  I don't want to have all of that client code all over the place in my application, I would like to be able to just list a few textboxes and have the control handle everything. (This should definitely be possible.) Thanks!
0
Rumen
Telerik team
answered on 10 May 2008, 07:32 AM
Hi Robert,

Thank you for your nice feature request.

I logged it in our ToDo list and we will consider its implementation for one of the future spell versions. We do appreciate your feedback and updated your Telerik points.


Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Martin
Top achievements
Rank 1
answered on 17 Jun 2008, 08:45 PM
"I'd like to request that you add another property to the RadSpell called "ControlsToCheck" which lets you comma separate a few textbox ID's.  You could make it flag a compile time error if both properties "ControlToCheck" and "ControlsToCheck" are filled.  I don't want to have all of that client code all over the place in my application, I would like to be able to just list a few textboxes and have the control handle everything. (This should definitely be possible.) Thanks!"

I would like that property too! Would be a lot easier!!!
0
Lini
Telerik team
answered on 20 Jun 2008, 04:00 PM
Hi,

We will do our best to include this functionality in the next official RadControls release (Q2 2008), which is scheduled for the end of July.

Regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
tom
Top achievements
Rank 1
answered on 15 Jul 2008, 06:25 PM
great...another user anxiously waiting for this feature

all the best
-tom
0
Lini
Telerik team
answered on 18 Jul 2008, 02:43 PM
Hello,

I have just tested the current internal build of RadControls for ASP.NET AJAX and I saw that the ControlsToCheck property is already present and working. The property accepts an array of IDs - either server-side or client-side html controls. The public RadControls Q2 2008 release should be out sometime next week.

Kind regards,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Spell
Asked by
Chuanbo
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Chuanbo
Top achievements
Rank 1
Robert Strazzarino
Top achievements
Rank 1
Martin
Top achievements
Rank 1
Lini
Telerik team
tom
Top achievements
Rank 1
Share this question
or