Re: integration with Netspell with .dll added to project

  •  09-16-2004, 11:23 AM

    Re: integration with Netspell with .dll added to project

    Nick,
     
    Sorry.
     
    In the download package, we have two example files showing you how to add the spell cheked button into the CuteEditor tool bar:
     
    integrate_withnetspell.aspx
    integrate_withnetspell_vb.aspx
     
     
    Step 1: Create a spell checked custom button
      

    <script runat="server">

    void Page_Load(object sender, System.EventArgs e)

    {

        //Integrate with NetSpell

        System.Web.UI.WebControls.Image SpellingImage = new System.Web.UI.WebControls.Image ();

        SpellingImage.ToolTip = "Check Spelling";

        SpellingImage.ImageUrl = "CuteEditor_files/themes/Office2003/spell.gif";

        SpellingImage.CssClass = "button";

        SpellingImage.ID = "Spell";// This ID will be used in template


        //Editor1 is the ID of your editor

        SpellingImage.Attributes.Add("onclick","checkSpellingById('Editor1_editBox')");

        SpellingImage.Attributes.Add("type","btn");

        Editor1.RegisterCustomButton(SpellingImage);

    }

    </script>

     

    Step 2: Add the spell checker JavaScript reference on the top of your page
     
     
    <script language="JavaScript" src="<%= Request.ApplicationPath %>/CuteEditor_files/scripts/spell.js"></script>
     
    Step3: Add the spell checker button to the editor toolbar:
      

    <CE:Editor id="Editor1" runat="server" Template="Bold,Italic,Underline,Spell"></CE:Editor>

     
    Hope it helps.
     
    Let me know if you have any further questions.

     


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread