FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

NetSpell Configuration in 3.0

Last post 10-11-2007, 3:02 PM by infocyde. 15 replies.
Page 1 of 2 (16 items)   1 2 Next >
Sort Posts: Previous Next
  •  11-16-2004, 2:28 AM 2170

    NetSpell Configuration in 3.0

    				Hi,

    In the new version, is there any settings we need to do for NetSpell still?
    I notice that NetSpell doesn't work in the demo for 3.0 doesn't work.
    It's giving the "NetSpell libraries not properly linked" message. Can anyone help?

    Thanks,
    sphan.
  •  11-16-2004, 11:41 AM 2185 in reply to 2170

    Re: NetSpell Configuration in 3.0

    John,
    I think you forgot to include the "spell.js" in the homepage demo. That was all for me to get NetSpell working (beside all the Netspell file copies and web.config changes).


    Thanks,
    sphan.
  •  12-02-2004, 3:13 PM 2360 in reply to 2185

    Re: NetSpell Configuration in 3.0

    I don't see the spell.js file in the download. Where should it be or where can I get it?
    Drone

    No one knows everything, so I come here to learn and teach.
  •  12-02-2004, 9:52 PM 2361 in reply to 2360

    Re: NetSpell Configuration in 3.0

    I found the NetSpell download on sourceforge. 

    Once I copied the dll into the bin folder and placed the spell.js, spell.css, and spellcheck.aspx files into my webproject folder.  I then was able to get past the libraries not installed error message.

    When the dialog window displays, it generates an error "Value cannot be null, parametername: path2.

    Is this because the netspell needs the editor id, or is it another problem?


    Drone

    No one knows everything, so I come here to learn and teach.
  •  12-03-2004, 9:49 AM 2365 in reply to 2361

    Re: NetSpell Configuration in 3.0

    K,  It is working now and here is what was done. 

    First, get NetSpell from http://sourceforge.net/projects/netspell/ extract the files.

    Once that is done copy the following files to your web project path.

    spell.js, spellcheck.aspx and spell.css.  These will go to the root of your web project.  Now copy the dic folder to the root of your project.

    Now in your webconfig file add this entry

    <appSettings>
             <addkey="DictionaryFolder"value="dic"/>
    </appSettings>

    Now add a reference to the NetSpell.SpellChecker.dll to your project.

    Now in the code behind page do the following

    Dim NetSpell AsNew FreeTextBoxControls.NetSpell

    Now add the item to the toolbar of your choice.

    Editor1.toolbar1.Items.Add(NetSpell)

    Run your project and your spell checker should now work.

    This is all I did to get it working, after reading various posts, so I thought I would consolidate all of the steps in once place.

    Drone

    No one knows everything, so I come here to learn and teach.
  •  12-14-2004, 8:55 AM 2503 in reply to 2365

    Re: NetSpell Configuration in 3.0

    One thing I forgot was to list above, is that you need to add the following line to your aspx page where you have the editor.

    <script language="JavaScript" src="spell.js" type="text/javascript"></script>


    Drone

    No one knows everything, so I come here to learn and teach.
  •  12-14-2004, 12:19 PM 2512 in reply to 2365

    Re: NetSpell Configuration in 3.0

    BTW, it should say:

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

    in the web.config... it was missing the space between 'add' and 'key' and a space between the double quote and 'value' both small issue, but both cause hard to trace errors.
  •  05-19-2006, 2:36 PM 6595 in reply to 2512

    Re: NetSpell Configuration in 3.0

    All very helpful. However, it looks like netspell does not work with asp.net 2.0? Anyone have any luck with getting spellcheck to work in an asp.net 2.0 freetextbox?

    Basically, I've got it to the spell check window opening, but no processing happens at this point (just the spell check form with the loading... text at the bottom perpetually - page does not load.

    Thanks,

    Ted
  •  05-19-2006, 2:46 PM 6596 in reply to 6595

    Re: NetSpell Configuration in 3.0

    Well, should have checked this first...but it works in ie, but not firefox 1.5.

    Ted
  •  05-30-2006, 5:32 AM 6610 in reply to 6596

    Re: NetSpell Configuration in 3.0

    Well, I've tried all the above and still can't get it to work with asp.net 2.0 and IE6

    I'm obviously doing something wrong somewhere, so I guess it'll be a case of trying all permutations.

    Given that Netspell was 'integrated' from version 3.0, this is a hell of a bind.

  •  06-02-2006, 4:13 AM 6631 in reply to 6610

    Re: NetSpell Configuration in 3.0

    Still can't get it to work and my file structure is identical to the web sample.

    Is it something to do with the fact I'm using master pages ?

  •  06-05-2006, 4:47 AM 6640 in reply to 6631

    Re: NetSpell Configuration in 3.0

    OK, I've just managed to come back to this.

    I'm trying to define the Netspell toolbar as above, instead of in the .aspx as I had already.

    The problem I now have is that I don't have a toolbar1 and I cannot define a toolbar collection - it's all greyed-out.

    So how can I add the netspell toolbar ?

    thanks

  •  06-05-2006, 5:07 AM 6641 in reply to 6640

    Re: NetSpell Configuration in 3.0

    OK - sorted that out.

    Still get the 'libraries not linked 'error  B-(

     

  •  10-11-2007, 2:53 PM 8598 in reply to 6641

    Re: NetSpell Configuration in 3.0

    Ok, I had luck doing the following.

    1) First get freetextbox working without netspell.
    2) Copy the netspell.dll into your bin.
    3) Create a dic folder in your app root and drop in whatever dictionary files you are using (US-EN for example)
    4) Drop the spell.css,spellcheck.aspx, and spell.js files into the same directory you are going to have the freetextbox in.
    5) On the Page_load event for your page, add code like this.

    protected void Page_Load(object sender, EventArgs e)
    {
       FreeTextBoxControls.
    NetSpell n = new FreeTextBoxControls.NetSpell();
       FreeTextBoxControls.
    Toolbar t = new FreeTextBoxControls.Toolbar();
       t.Items.Add(n);
       FreeTextBox1.Toolbars.Add(t);

    }

    I got things working like this, but you could put this code in the Page_onit as well. 

     

  •  10-11-2007, 2:55 PM 8599 in reply to 8598

    Re: NetSpell Configuration in 3.0

    6) Opps, also add a reference on the page that has the freetextbox to the javascript file, something like this.

    <script language="JavaScript" src="spell.js" type="text/javascript"></script>

    Good luck.

     

Page 1 of 2 (16 items)   1 2 Next >
View as RSS news feed in XML
www.freetextbox.com