This is a migrated thread and some comments may be shown as answers.

Enabling MS Word Spell Checking

0 Answers 152 Views
Spell
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Telerik Admin
Top achievements
Rank 1
Telerik Admin asked on 07 Jun 2011, 09:54 AM
Please, find attached a sample working project, which demonstrates how to enable MS Word spell check provider of RadSpell for ASP.NET AJAX.

Microsoft Word support is not enabled by default for RadSpell. Follow the steps below to enable it:
  1. You need to have installed Microsoft Word on your server.
  2. Put the WordSpellCheckProvider.cs provider in the App_Code folder (the provider is available in the attachment).
  3. Put the Microsoft.Office.Interop.Word.dll and Microsoft.Vbe.Interop.dll in the project's /bin folder (both dll files are available in the attachment)
  4. Set the SpellCheckProviderTypeName property of RadSpell:

    RadSpell1.SpellCheckProviderTypeName = typeof(Telerik.Web.UI.WordSpellCheckProvider).AssemblyQualifiedName;

    The SpellCheckProviderTypeName property of RadSpell allows the developers to specify a custom spell check provider (in our case it is WordSpellCheckProvider.cs) instead of the default one.
  5. Configure the web site in the web.config to use ASP.NET impersonation (see also <identity> Element):

    <system.web>
          <identity impersonate="true" userName="domain\username"
              password="xxxxxxx"/>
              ...
Tags
Spell
Asked by
Telerik Admin
Top achievements
Rank 1
Share this question
or