Rank: Newbie Groups: Member
Joined: 12/8/2009 Posts: 1
|
I'm trying to use the EO Spell Checker to check multiple controls across multiple tabs on an AJAX TabContainer control. It keeps erroring when I place the spell check control outside of the tabcontrol. If I place it inside the tab control, it can only check the controls on the tab it's placed inside. Is there any way of checking multiple controls with the EO Spelll Checker across multiple tabs?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Make sure you put in the controls ClientID in the SpellChecker's ControlToCheck property. If you just use ID, the SpellChecker won't be able to distinguish different controls inside different naming containers. For example, if you have a TextBox "TextBox1" inside tab 1 and also have another TextBox with the same ID inside tab 2 and only set the SpellChecker's ControlToCheck to "TextBox1", then the SpellChecker won't know which TextBox1 you are referring. So in this case you need to use ClientID to explicitly distinguish them. You can easily find out the ClientID of a control with a debugger.
Thanks!
|