Essential Objects Spell Checker IssueThe
page where the Spell Checker is implemented is
getting crashed if
IgnoreAllCapital property of SpellChecker is set to False and any character other than an alphanumeric one like a full stop (.) is at the end of the content where spell checking is done.
Problem in detail:
• We are using a licensed version and we implement the basic Dialog based style.
• This happens only if the IgnoreAllCapital property is set to False (This is very important for us because, most of our text areas use a CSS text transform property to convert the content to capitals as soon as the user types).
• The exception thrown is System.IndexOutOfRangeException.
[IndexOutOfRangeException: Index was outside the bounds of the array.]
EO.Web.Internal.ei.a(String A_0, String A_1) +474
EO.Web.Internal.ei..ctor(String A_0, Hashtable A_1) +447
EO.Web.Internal.de.a(String A_0, Boolean A_1, StringCollection A_2) +1477
EO.Web.Internal.de.a(String A_0, Boolean A_1) +70
EO.Web.Internal.bv.a() +369
EO.Web.Internal.fi.a(HttpResponse A_0, String A_1, Int32[] A_2, de A_3, Boolean A_4, Boolean A_5, Boolean A_6, Boolean A_7, Int32 A_8) +629
EO.Web.Internal.fi.a(c4 A_0, HttpResponse A_1, Object A_2) +1492
EO.Web.Internal.ai.a(c4 A_0) +664
EO.Web.Internal.ai.a(HttpApplication A_0) +76
EO.Web.Internal.ep.a(HttpContext A_0) +40
EO.Web.Runtime.ProcessRequest(HttpContext context) +39
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
The code used is given below:
<asp:TextBox ID="txtResumeOfFacts" runat="server" Wrap="true" TextMode="MultiLine" Rows="24" Width="800px" text="Insured lendrs, First Banc Home Mortgage, has recieved notifcation that insured land has been ilegaly subdvided."></asp:TextBox>
<eo:SpellChecker id="SpellChecker1" runat="server" DialogID="SpellCheckerDialog1" ControlToCheck="txtResumeOfFacts" StartButton="btnCheck" IgnoreAllCapital="false"></eo:SpellChecker>
<eo:SpellCheckerDialog id="SpellCheckerDialog1" Width="320px" Height="216px" runat="server" ControlSkinID="None" CloseButtonUrl="00070301" BackColor="#ECE9D8" HeaderHtml="Spell Checker">
<FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma"></FooterStyleActive>
<HeaderStyleActive CssText="padding-right: 3px; padding-left: 8px; font-weight: bold; font-size: 10pt; background-image: url(00020113); padding-bottom: 3px; color: white; padding-top: 0px; font-family: 'trebuchet ms';"></HeaderStyleActive>
<ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma"></ContentStyleActive>
<BorderImages BottomBorder="00020112" RightBorder="00020111" TopRightCornerBottom="00020106" TopLeftCornerRight="00020102" TopRightCorner="00020104" LeftBorder="00020110" TopLeftCorner="00020101" BottomRightCorner="00020108" TopLeftCornerBottom="00020103" BottomLeftCorner="00020107" TopRightCornerLeft="00020105" TopBorder="00020109"></BorderImages>
</eo:SpellCheckerDialog>
This is very urgent because a release is scheduled for us in 3 days. Please revert back immediately.
Mail IDs:
gabraham@firatam.com,
uchacko@firstam.com,
vmurugan@firstam.com