RadSpell integration with MOSS

5 posts, 0 answers
  1. manish
    manish avatar
    3 posts
    Member since:
    May 2007

    Posted 06 Aug 2008 Link to this post

    Hi,

    I am integrating Rad Spell  spell checker in MOSS 2007 application. I have done all the steps mentioned in the technical help provided.

    When I add RadSpell in a page layout and specify the ControlToCheck property to a text editor. The page gives error when opened through MOSS. So can I add RadSpell control to a layout page?

    My sharepoint designer is not recognizing  asp:script manager. Is it vital for RadSpell? Are there any extra steps to configure RadSpell in  MOSS pages?

    Kindly provide a solution to this problem.

    Regards,
    Manish Kaushal
  2. manish
    manish avatar
    3 posts
    Member since:
    May 2007

    Posted 06 Aug 2008 Link to this post

    In continuation to my above problem I am able to place the control on a MOSS page without errors. Next I tried to use the spell check feature while editing a content page in sharepoint. The button for cpell check appears but nothing happens on the click of that button. No error appears neither it works.

    Steps that I followed:
    => Added Telerik.Web.UI to GAC
    => Added HttpHandlers for Telerik and ASP.NET AJAX extensions 1.0 to web.config. Updated SafeControls section as directed in the installation help.
    => Added dictionary files to 13300\App_Browsers folder  where 13300 is my MOSS application(Site collection).
    => Tried running the spellcheck in edit page mode in MOSS.

    Can you please tell that what is going wrong. Why the control is not working. Are there any more steps to integrate RadSpell in MOSS?

    Regards,
    Manish

  3. George
    Admin
    George avatar
    859 posts

    Posted 06 Aug 2008 Link to this post

    Hi Manish,

    Could you please open a support ticket and send us some screenshots that demonstrate the problem? What are the exact error details? Which version of RadSpell are you using - ASP.NET or ASP.NET AJAX?


    Kind regards,
    George
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  4. manish
    manish avatar
    3 posts
    Member since:
    May 2007

    Posted 07 Aug 2008 Link to this post

    Can you list the requirements apart from the ones mentioned in the instructions for setting up RadSpell in MOSS 2007.

    Can it be set on MOSS 2007 without using RadEditor.
     
    Regards,
    Manish
  5. George
    Admin
    George avatar
    859 posts

    Posted 07 Aug 2008 Link to this post

    Hi Manish,

    Please review bellow how to integrate RadSpell with MOSS. The code I am using is based on version 2008.2.723.20. If you are using a different build, you will need to replace the version string with yours:
    1. Make sure that you have integrated ASP.NET AJAX with Sharepoint.
       
    2. Install Telerik.Web.UI.dll and Telerik.Charting.dll in the GAC of your SharePoint server.  
       
    3. Open the desired Page where RadSpell will be integrated and Register the Telerik.Web.UI assebmly e.g:
      <%@ Register Tagprefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2008.2.723.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>  

       
    4. Add RadSpell to the Page and set the desired control to be checked. This example assumes your page is in the layouts folder (c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS):
      <telerik:RadSpell ID="RadSpell1" runat="server" ControlToCheck="TextBox1"  
      AjaxUrl="/_layouts/Telerik.Web.UI.SpellCheckHandler.ashx"  
      DictionaryPath="/_layouts/RadSpell/"  
      HandlerUrl="/_layouts/Telerik.Web.UI.DialogHandler.aspx" />  
       
    5. Open the c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\ folder and create the following files:

        Telerik.Web.UI.SpellCheckHandler.ashx, which should contain the following line:
      <%@ WebHandler Language="C#" Class="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.2.723.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %> 
       


        Telerik.Web.UI.DialogHandler.aspx, which should contain the following line:
      <%@ Page Language="C#" Inherits="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.2.723.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %> 
       
    6. Add the RadSpell dictionaries. In the above code, the DictionaryPath parameter is set to "/_layouts/RadSpell/", so the dictionaries (*.tdf files) should be in c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\RadSpell\. If you do not set the DictionaryPath parameter, then you need to put the dictionaries in their default location - ~/App_Data/RadSpell/ (i.e. c:\Inetpub\wwwroot\wss\VirtualDirectories\80\App_Data\RadSpell\).
       
    7. Save the page and test it.
       
    Kind regards,
    George
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top