Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
UltraSpellChecker and UltraTextEditor
posted

I am trying to disable spell checker for a UltraTextEditor. This is how I am trying.

ultraSpellChecker.SetSpellCheckerSettings(txtComment, new SpellCheckerSettings(false))

I am getting this exception,

The specified control cannot have SpellCheckerSettings applied to it.
Parameter name: control.

Any thoughts?

-Se

  • 71886
    Offline posted

    Hello senpost,

    You could read about the SpellCheckerSettings class at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Infragistics2.Win.UltraWinSpellChecker.v11.1~Infragistics.Win.UltraWinSpellChecker.SpellCheckerSettings_members.html

    You could try the following approach in order to disable the spellChecker for your textEditor control:

    txtComment.SpellChecker = null;

    Please feel free to let me know if there is something bothering you or if I misunderstood your requirement.