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:
https://es.infragistics.com/help/aspnet/infragistics.webui.webhtmleditor~infragistics.webui.webhtmleditor.webhtmleditor~enablespellcheck
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.
<%
@ Page Language="vb" AutoEventWireup="false" CodeBehind="SpellCheckerDialog.aspx.vb" Inherits="eSurvey2010.SpellCheckerDialog"
%>
@ Register Assembly
="Infragistics35.WebUI.WebSpellChecker.v9.1, Version=9.1.20091.2087, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.WebUI.WebSpellChecker" TagPrefix="ig_spell"
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"">www.w3.org/.../xhtml1-transitional.dtd">
<
html xmlns="">http://www.w3.org/1999/xhtml"
>
head runat
="server">
<title></title
</
head
body
<form id="form1" runat
<div
<ig_spell:WebSpellCheckerDialog ID="WebSpellCheckerDialog1" runat
</ig_spell:WebSpellCheckerDialog
</div
</form
html
Public
Partial Class
SpellCheckerDialog
Inherits
System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me
.Load
End
Sub
Class
Hello again,
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!
Best regards,
Stamen Stoychev
thank you for responding.
may i ask, what is the purpose of having a Modal="True" property for a DialogOption (when is actually observed)?
thanks
Hello,
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" />
</ig_spell:WebSpellChecker>
This will also prevent the window from closing without the user interacting with it first.
Hope this helps.
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)
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.