MVC Usage

The examples in this Help documentation will by default use .ASPX Web Form pages to do the spell checking work. If this is not desired, it is possible to use WCF or ASMX Web Services to do the spell checking work on the server. jQuery is required for inline spell checking, and additionally jQuery UI is required for dialog mode checking.

Dialog Mode

To use WCF web services for dialog based spell checking (note that this is only supported with jQuery DIV based dialog windows):

  1. In Javascript, call rapidSpell.dialog_setUseDivDialog(true);
  2. Ensure the project references Keyoti.RapidSpellWeb.ASP.NETv4.DLL
  3. In the MVC project's RouteConfig class, add 2 ignore routes:
    routes.IgnoreRoute("{d}/{resource}.svc/{*pathInfo}");
    routes.IgnoreRoute("{d}/{resource}.svc");

Inline/as-you-type Mode

To use WCF web services for inline based spell checking:

  1. Include jQuery on the page.
  2. In Javascript, call rapidSpell.useAJAXWebService = true;
  3. Ensure the project references Keyoti.RapidSpellWeb.ASP.NETv4.DLL
  4. In the MVC project's RouteConfig class, add 2 ignore routes:
    routes.IgnoreRoute("{d}/{resource}.svc/{*pathInfo}");
    routes.IgnoreRoute("{d}/{resource}.svc");

ASMX .NET 2/3+

It is possible to use ASMX Web Services instead of WCF if required. To do that,reference Keyoti.RapidSpellWeb.ASP.NETv2.DLL and call (in Javascript):
rapidSpell.setServiceType('asmx');
Ensure the ignore routes (see above) are for .asmx instead of .svc.

Troubleshooting

If you get '500' server errors, please check:

We don't want you to struggle, so please email support@keyoti.com if problems persist.