Re: List of Commands

  •  07-18-2006, 6:43 PM

    Re: List of Commands

    Thank you, that put me towards the right direction but now I have a new problem.

    I get a Javascript error, regarding "Object Expected".

    Here is my Javascript Function:
    function fireSpellCheck(){
    // get the cute editor instance  
    var editor1 = document.getElementById('CE_Editor1_ID');
    editor1.ExecCommand("netspell");
    }



    This works for "PasteHTML", "InsertDate" and pretty much anything else Ive tried from the command list. But for some reason when I used "netspell" it doesnt fire.

    I also looked at the example on the Javascript API example page. There is a dropdown box that has a list of command names, "netspell" being one of them. It works over there, but I notice all you do is pass the option value to ExecCommand. What am I doing wrong?

    NetSpell works when I leave the toolbar set to FULL. So I know my DLL references to NetSpell are fine. Its not a reference problem because I can use NetSpell with the full toolbar, I just need to minimize the toolbar and fire the Spell Check from a webForm button (or programmatically).

    Thanks alot
    HomecitySupport




View Complete Thread