Checking multiple RadTextboxes

2 posts, 0 answers
  1. Stephan
    Stephan avatar
    71 posts
    Member since:
    Jul 2007

    Posted 20 Feb 2009 Link to this post

    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.


  2. Tervel
    Tervel avatar
    1337 posts

    Posted 23 Feb 2009 Link to this post

    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:

    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,
    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.
Back to Top