Products
RapidSpell Desktop .NET (Win Forms)
RapidSpell Web ASP.NET (ASP.NET, MVC, SPA)
RapidSpell WPF
RapidSpell Web Java (JSP, JSF)
RapidSpell Desktop Java (Swing)
SearchUnit
RapidFindReplace WPF
Dictionaries for .NET
Dictionaries for Java
Conveyor
Customer Care
Existing Customers
Support
Knowledge Base
Company
Home
About
Blog
Contact Us
Refund Policy
Support Policy
Privacy Policy
Home
KB
Knowledgebase Home Page
>
RapidSpell Web ASP.NET
>
Appearance Customization
Search the Knowledge Base
-- Select a Category --
- RapidFindReplace WPF
- RapidSpell Desktop .NET
- 3rd Party Ctrls
- Appearance Customization
- Behavior Customization
- Misc
- Troubleshooting
- RapidSpell Desktop Java
- RapidSpell Silverlight
- RapidSpell Web ASP.NET
- Appearance Customization
- Behavior Customization
- Misc
- Rich/HTML Textboxes
- Troubleshooting
- RapidSpell Web Java
- SearchUnit
- Version 2 Articles
- Version 3 Articles
- Thesaurus Desktop .NET
How do I show the number of errors found?
https://keyoti.com/kb/Default.aspx?ToDo=view&questId=36&catId=57
Options
Print this page
Email this to a friend
You can very easily show the number of errors by changing the popup aspx code to;
<%@ Page language="c#" Codebehind="PopUp.aspx.cs" AutoEventWireup="false" Inherits="RapidSpellWeb_Demo_CSharp.PopUp" validateRequest=false%>
<%@ Register TagPrefix="rapidspellweb" Namespace="Com.Keyoti.RapidSpell" Assembly="Keyoti.RapidSpellWeb" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>PopUp</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="
http://schemas.microsoft.com/intellisense/ie5
">
<script language=C# runat=server>
int errors=0;
</script>
</HEAD>
<body>
<div align="center">
<%
RapidSpellWeb1.CheckerEngine.Check(Request.Params["TextToCheck"]);
while(RapidSpellWeb1.CheckerEngine.NextBadWord()!=null)
errors++;
%>
<form id="PopUp" method="post" runat="server">
<%=errors%> error<%=errors==1?" was":"s were"%> found.
<RapidSpellWeb:RapidSpellWeb id="RapidSpellWeb1" runat="server" Width="100%">
</RapidSpellWeb:RapidSpellWeb>
</form>
</div>
</body>
</HTML>
Related Questions:
How do I specify the CSS style of a RapidSpellWInlineTextBox?
How can I remove the horizontal / vertical scroll bar in the inline spell checker textbox?
How to indicate/monitor that the multiple spell checker is working (ajax request)?
How to use RapidSpell dialog in a JQuery (or DIV based) modal dialog (JS)?
Menu style modification.
Attachments:
No attachments were found.