I am new to the Telerik controls and am trying to do something specific using Spell. I want to have multiple controls on a page that are checked for spelling errors (which is easy enough), but I would like for them to be checked individually and in sequence. In other words, check Control 1, do all fixes, then move on to Control 2, etc. without displaying the results from one control in another's dialog box.
I have been trying to use code like the following to achieve this:
where elements contains the array of controls, or
Each time, the spell check seems to somehow ignore the first control and focus on the second control. I can check both controls as normal or each one individually (without the other), so they appear to be set up correctly. I just cannot check one and then the other. Is this even possible? Am I missing something obvious here?
Thanks for any insight,
Scott
I have been trying to use code like the following to achieve this:
var spell = $find("RadSpell1"); |
for (var i=0; i < 2; i++) |
{ |
spell.spellCheck(elements[i]); |
} |
spell.spellCheck(elementOne); |
spell.spellCheck(elementTwo); |
Each time, the spell check seems to somehow ignore the first control and focus on the second control. I can check both controls as normal or each one individually (without the other), so they appear to be set up correctly. I just cannot check one and then the other. Is this even possible? Am I missing something obvious here?
Thanks for any insight,
Scott