I have NetAdvantage 2006 Volume 2, and I am creating a simple html text editor in C# 2.0 Windows Forms using the System.Windows.Forms.WebBrowser control. Is there a way that the UltraSpellChecker can be used to check the inner text in html that would not display the tags in the Spelling dialog box?
John
Hi Mike;
I have reviewed the source and you are correct, it most certainly isnt for the faint hearted implementing ISpellCheckTarget.
I too have put in a recent request for IG to implement spell checking against the WebBrowser control.
Is there any further update on this issue, as it seems to have been draging on for a few years now, and it seems logical that the spell checker should be able to work in an Html environment?
Kind Regards
Dave
This feature has not yet been added. The UltraSpellChecker will work with any object that implements ISpellCheckTarget. This is a very advanced thing though and there are no samples showing how to implement this. If you have our source code, I recommend looking at our implementations of the interface in the UltraSpellChecker project. They are TextBoxBaseWrapper and its two derived classes: TextBoxWrapper and RichTextBoxWrapper.
Has this feature been added to the latest infragistics release?
If not, could the UltraSpellChecker work with a control that inherits from WebBrowser and the "ISpellCheckTarget" interface?
If so, can you please point me to a code example that implements the ISpellCheckTarget interface?
Which controls in the infragistics framwork uses this interface (I can use reflector to review the implementation).
Thanks,Garry
This is not supported. You can submit a feature request to the support group: http://devcenter.infragistics.com/Protected/RequestFeature.aspx.
You can also implement your own spell check dialog by inheriting from SpellCheckDialogBase. To use your derived dialog, you would need to use a derived UltraSpellChecker and override CreateSpellCheckDialog, returning an instance of your derived dialog.