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
1390
Limit spell checking to new text I've entered
posted

Hi,

I have an module in my app that is similar to outlook. When a user replies to a message, the body of the

original message is copied into the UltraTextEditor along with the ----- Original Message ------ tag, from, to, date sent, etc. What is happening is that spell check is checking that text as it has the red lines underneath. I can't send the message without pressing Ignore All for everything. Is there a way to make spell check only check the new text that is typed in?

I'm using NetAdvantage 10.2 build 2151

thanks

Mario

Parents
  • 53790
    posted

    Hello Mario,

    Maybe one possibel approach could be if you handle ultraSpellChecker1_SpellChecking() event and cancle checking if your initial Text. For example:

    private void ultraSpellChecker1_SpellChecking(object sender, Infragistics.Win.UltraWinSpellChecker.SpellCheckingEventArgs e)

    {

       if (e.Text.Length < TextLength + 1) e.Cancel = true;

    }

    Please take a look at the attached sample and video file for more details and let me know if you have any questions

    Regards

    Video 055.rar
Reply Children
No Data