Enabling MS Word Spell Checking

Thread is closed for posting
1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1591 posts
    Member since:
    Oct 2004

    Posted 07 Jun 2011 Link to this post

    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):

            <identity impersonate="true" userName="domain\username"
Back to Top