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

Checking multiple RadTextboxes

1 Answer 59 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 20 Feb 2009, 10:34 PM
Hi, I'm a little confused, but that is may be because I spend too much time behind my pc. Ok, here it is. On the this site I see an example how to check multiple controls (see: check multiple controls). Looks nice. But at a lot of places I also see some different approche. See this page in the documentation. Can someone please explain to me wat the difference is.

What I try to get to work is to start the RadSpell from a RadToolbar. In my code I set the ControlsToCheckId to a string-array containing all the controlIds (int this case all the controls to check are of the RadTextBox-type, but that should not matter I think). To get this to work, I also have a js-script on the page which references the RadSpell. Now, when I have, lets say, 10 RadTextBoxes and I put some text in the first one and leave the others to their default value, and start the spellchecker, it pops up. No problem with that, but, first of all, the text typed in the textbox shows half way the textbox in the RadSpell dialog, which is strange. But wait, it gets stranger. when I scroll up, I see the same text again. So this text is present twice in the RadSpell-dialog. Now, when I check the spelling and change some words, on closing of the RadSpell-dialog, the text in the original dialog is not changed.

Does anyone has a clue, and of course an answer on my question about the difference checking multiple textboxes using ControlIdsToCheck and the script approach mentioned in the documentation.

I use the Q3 2008 version of the RadAJAX controls.

TIA


1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 23 Feb 2009, 03:19 PM
Hi Stephan,

RadTextBoxes are no ordinary textboxes - in fact for a number of reasons each consists of a hidden textbox, as well as a visible one. One reason, for which this is necessary, is the ability to provide extra symbols - such as brackets and hyphens that facilitate user entry).

Hence, spell checking a RadTextBox is different from checking a textbox.
The following help article provides some information on this:
http://www.telerik.com/help/aspnet-ajax/input_radtextboxspellcheck.html

Since we are not aware of the problems you refer to, in case you are not able to get things working as expected, please open a support ticket and send us a simple project demonstrating the problem. We will make the necessary changes and send it back to you.

All the best,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Spell
Asked by
Stephan
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or