There are two ways to use RapidSpell Web; as Javascript or as Server Controls. This help document provides information on both approaches, generally speaking the Javascript approach is simpler and less intrusive on the user web application, as it automatically configures around the text boxes on the page (unless told to ignore them).
This is the most flexible and works with ASP.NET Core, MVC, Web Forms, SPA's, etc (anything with Javascript on the client).
More detailed steps are in the ASP.NET Quick Starts (as you type and dialog) , ASP.NET MVC, and ASP.NET Core
To use RapidSpell Web via Javascript, reference the appropriate DLLs for your .NET version:
.NET 2 (3/3.5) users, please check for and delete RapidSpellService.svc from the copied Keyoti_RapidSpell_Web_Common if it is present.
Create a Keyoti scripts folder within the web application, copy the files from the 'Keyoti_RapidSpell_Web_Common' folder and paste them to your new folder.
(the 'Keyoti_RapidSpell_Web_Common' folder can be found under the product installation, typically; C:\Program Files (x86)\Keyoti Inc\RapidSpell Web .NET v5\Keyoti_RapidSpell_Web_Common)
Drag the RapidSpell-AYT.js and RapidSpell-DIALOG.js file on to the page in Visual Studio and a 'script src' tag will automatically be added to the page.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.structure.min.css" /> <script src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
ASP.NET Core users activate .NET Core based AJAX in the page using the spell checker.
<script type="text/javascript"> rapidSpell.setServiceType('core'); </script>
To use RapidSpell Web Server Controls, you must reference the Keyoti.RapidSpellWeb.ASP.NETv4.dll (for .NET 4) or Keyoti.RapidSpellWeb.ASP.NETv2.dll (for .NET 2+) or Keyoti.RapidSpellWeb.dll (for .NET 1+) and Keyoti.RapidSpellMDict.dll, DLLs.
Note:
.NET 4 users should only add controls from, and reference Keyoti.RapidSpellWeb.ASP.NETv4.dll
.NET 2 & 3 users should only add controls from, and reference Keyoti.RapidSpellWeb.ASP.NETv2.dll
1. Select the "Components" tab in the Toolbox slider
2. Right click in the Toolbox area and click "Customize Toolbox..."/"Add Remove Items"
3. Find the RapidSpell.... controls in the list and check them
4. Click Ok. the RapidSpellWeb, RapidSpellWInline, RapidSpellWInlineHelper, RapidSpellWInlineTextBox , RapidSpellWebMultiple and RapidSpellWebLauncher controls have been added to your Toolbox and can be dragged onto forms.
1. Select the "Components" tab in the Toolbox slider
2. Right click in the Toolbox area and click "Choose Items"
3. Find the RapidSpell.... controls in the list and check them (ensure you select the controls in the Keyoti.RapidSpellWeb.ASP.NETv2 assembly!)
4. Click Ok. the RapidSpellWeb, RapidSpellWInline, RapidSpellWInlineHelper, RapidSpellWInlineTextBox , RapidSpellWebMultiple and RapidSpellWebLauncher controls have been added to your Toolbox and can be dragged onto forms.
1. Select the "Components" tab in the Toolbox slider
2. Right click in the Toolbox area and click "Choose Items"
3. Find the RapidSpell.... controls in the list and check them (ensure you select the controls in the Keyoti.RapidSpellWeb.ASP.NETv4 assembly!)
4. Click Ok. the RapidSpellWeb, RapidSpellWInline, RapidSpellWInlineHelper, RapidSpellWInlineTextBox , RapidSpellWebMultiple and RapidSpellWebLauncher controls have been added to your Toolbox and can be dragged onto forms.
1. Copy Keyoti.RapidSpellWeb.dll and Keyoti.RapidSpellMDict.dll files in to the bin directory off your application root.
2. Add<%@ Register TagPrefix="RapidSpellWeb" Namespace="Keyoti.RapidSpell" Assembly="Keyoti.RapidSpellWeb" %>to the top of the aspx page where you will use the RapidSpell Web Control. It is vital that in development and deployment that you keep Keyoti.RapidSpellWeb.dll and Keyoti.RapidSpellMDict.dll in the same directory as each other.
1. Copy Keyoti.RapidSpellWeb.ASP.NETv2.dll and Keyoti.RapidSpellMDict.dll files in to the bin directory off your application root.
2. Add<%@ Register TagPrefix="RapidSpellWeb" Namespace="Keyoti.RapidSpell" Assembly="Keyoti.RapidSpellWeb.ASP.NETv2" %>to the top of the aspx page where you will use the RapidSpell Web Control.
It is vital that in development and deployment that you keep Keyoti.RapidSpellWeb.ASP.NETv2.dll and Keyoti.RapidSpellMDict.dll in the same directory as each other.
1. Copy Keyoti.RapidSpellWeb.ASP.NETv4.dll and Keyoti.RapidSpellMDict.dll files in to the bin directory off your application root.
2. Add<%@ Register TagPrefix="RapidSpellWeb" Namespace="Keyoti.RapidSpell" Assembly="Keyoti.RapidSpellWeb.ASP.NETv4" %>to the top of the aspx page where you will use the RapidSpell Web Control.
It is vital that in development and deployment that you keep Keyoti.RapidSpellWeb.ASP.NETv4.dll and Keyoti.RapidSpellMDict.dll in the same directory as each other.
<%@ Register TagPrefix="rapidspellweb" Namespace="Keyoti.RapidSpell" Assembly="Keyoti.RapidSpellWeb.ASP.NETv2, Version=4.1.13.415, Culture=neutral, PublicKeyToken=58d9fd2e9ec4dc0e" %>