Hi,
I want to call 'WebSpellchecker' from code behind.
In my scenario, I have save button (asp.net button) which will save data after spell correction.
Let me know how to achieve this.
Hello Rakesh,
Thank you for posting your inquiry to the Infragistics ASP.NET forums. The WebSpellChecker has both a client-side and server-side event called SpellCheckComplete which may be used.
The following link is to the Infragistics NetAdvantage Online Help for ASP.NET 2010 Volume 2 where information on the WebSpellChecker API may be found:
WebSpellChecker <https://ko.infragistics.com/help/aspnet/infragistics.webui.webhtmleditor~infragistics.webui.webhtmleditor.webhtmleditor~enablespellcheck>
If you are to use the client-side SpellCheckComplete, then you will need to call __doPostBack to trigger a PostBack to call your saving procedure during the PostBack. In this scenario, the Save Button should be wired to do spell checking only and nothing else.
Please let me know if this information helps or if you have any questions.
Thank you.
Sincerely,Mike D.Developer Support EngineerInfragisticswww.infragistics.com/support
Hi Mike,
I have a textbox and asp.net button on a page.
when user hits the asp.net button, I want to call spell checking from 'Server side'.
This is like a compulsary activity to check spelling before proceeding with saving.
I dont want to have two different buttons, one for 'spell checking' and one for data saving.
The WebSpellChecker AutoPostBackFlags has a property called SpellCheckComplete which when set to true, will trigger a PostBack after the SpellCheck has finished. I have attached a sample to demonstrate this functionality.Please test this sample and let me know if you have any questions or need further assistance.Thank you.Sincerely,Mike D.Developer Support EngineerInfragisticswww.infragistics.com/support