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
255
xamSpellChecker dialog behavior
posted

Hi,

I am using xamSpellChecker in the following scenario:

"I have a popup with a multi-line text box.  Once the user is done with his/her input in the textbox and clicks on OK button of the popup, the spell checker should come into action."

If there are any spelling errors detected, then the spell check dialog box is displayed and everything works fine as expected. 

The problem comes when there are no spelling errors in the user's input.  If there are no spelling errors, the spellcheckcompleted method is called with the (spell checker) dialog state as "InActive" FOR THE FIRST TIME.  The user has to click on the "OK" button of the popup again and this time the spellcheckcompleted method is called with the dialog state as "Active" and it works as expected.  Could you please indicate why is this happening? 

PS: In the spellcheckcompleted method, I am putting the spell checker dialog window state as hidden because I dont want the user to see the spell check dialog with "OK" button incase there are no spelling errors.  But right now the user will have to click "OK" of the popup twice to close it in case of no spelling errors.