How to integrate NetSpell with FreeTextBox

The following code snippet show how intergrate NetSpell with FreeTextBox.

Download the latest version of FreeTextBox and NetSpell.

Copy NetSpell.SpellChecker.dll to the bin folder and add the following files to the same folder as default.aspx for FreeTextBox.

Copy the dic folder to the FreeTextBox folder.  Then modify the web.config file so the path to the dic folder matches.

        <add key="DictionaryFolder" value="dic" />

Modify Default.aspx to look like this

<script language="JavaScript" src="spell.js" type="text/javascript"></script>
<FTB:FREETEXTBOX id="FreeTextBox1" runat="Server">
        <FTB:TOOLBAR runat="server">
            <FTB:NetSpell runat="server" />

Now when you run the web site there should be a new toolbar that has a spell check button. When the spell check button is clicked, NetSpell should load and start checking the text in the FreeTextBox.

You can look in the demo\Demo.Web.FreeTextBox folder of the latest package of NetSpell for an example of how to integrate NetSpell with FreeTextBox.


As of FreeTextBox 3.0, NetSpell is intergrated.  The sample code above has been update to reflect what is needed in 3.0

comments powered by Disqus