Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Spell > Enabling MS Word Spell Checking

Not answered Enabling MS Word Spell Checking

Feed from this thread
  • Posted on Jun 7, 2011 (permalink)

    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"/>
                ...
    Attached files

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Spell > Enabling MS Word Spell Checking
Related resources for "Enabling MS Word Spell Checking"

ASP.NET Spell Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer Step-by-step Tutorial  ]