Doing a simple SpellChecker against a HTMLEditor. Click CHECK-SPELLING. Dialog pops up but immediately disappears. Neither are in an INaming container. Tried both of these methods:
Tried setting MODAL property to TRUE. Tried having the Check-Spelling button be INPUT Tag, BUTTON tag, and no-button (using the SPELL-CHECKER menu-item in HTMLEditor toolbar).
Always the same thing happens. Dialog page (SpellCheckerDialog.aspx) appears for a half a second and then disappears.
="Infragistics35.WebUI.WebSpellChecker.v9.1, Version=9.1.20091.2087, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
I have created a sample for your reference. You may comment out the client side event and can uncomment the below line of code from the sample. Both methods work for me.
this.WebSpellChecker1.WebSpellCheckerDialogPage = "SpellCheckerDialog.aspx ";
Attached is the sample. Let me know if it works.
this is putting me through living hell as well...
we need a CURRENT VB.net example
less than happy with what I'm seeing in both the samples and here
we need INDIVIDUAL samples and in my case I'm going nuts with ASP auth causing problems.
very disappointed and will call sales
although I was able to convert and get this running in .NET v4 with
v10.3, creating your own button and event is NOT the same as using the
spell checker button type from the WebHtmlEditor
very poor sample and NOT up to date with your product, NOR does it
represent a meaningful example (and it still does not explain the dialog
behavior of not staying displayed).
will start posting this on VARIOUS asp.net forums to see who else has encountered this problem.
the BUG(s) is that your ShowFinishedMessage property on this control is NOT observed:
<ig_spell:WebSpellChecker ID="WebSpellChecker1" runat="server"> <DialogOptions Modal="True" WindowHeight="430" WindowWidth="390" ShowFinishedMessage="true" /> </ig_spell:WebSpellChecker>
*AND* modality is ignored as well, thus the flashing behavior (if there are no spelling errors)
Whether such message is displayed is only controlled by the ShowFinishedMessage property if there were initially spelling errors in the text as prompted by the property description.
If you wish to have a message that prompts the user that there were no spelling errors you should use the ShowNoErrorsMessage property as shown in the following example.
<ig_spell:WebSpellChecker ID="WebSpellChecker1" runat="server">
<DialogOptions Modal="True" ShowNoErrorsMessage="True" />
This will also prevent the window from closing without the user interacting with it first.
Hope this helps.
thank you for responding.
may i ask, what is the purpose of having a Modal="True" property for a DialogOption (when is actually observed)?
The effect of setting Modal = "True" should be observable in the target browsers (in this case IE and Firefox). However, there seems to be a bug and the effect is only observable in IE (tested it on IE8 and Firefox 3.6.13). I am creating a ticket for this issue so it can be investigated further.
Thank you for your assistance!