This is a migrated thread and some comments may be shown as answers.

[Solved] Fire commands using Client-API

1 Answer 140 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Sambasiva
Top achievements
Rank 1
Sambasiva asked on 16 Jun 2008, 08:06 AM
Hi,

I am executing all the commands like Bold, Underline, AjaxSpellCheck and etc using Client Side API . I acheived all the commands except AjaxSpellCheck. which is throwing me a runtime error "Sys.ArgumentUndefinedException". 

Is there any way to solve this problem.?

Please note, after adding "AjaxSpellcheck" command to the toolbar and clicking  the button which is placed outside the editor is executing the spell check.



1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 17 Jun 2008, 12:29 PM
Hello Sambasiva,

For optimization purposes, if the AjaxSpellCheck command is not included in the editor's tools, the AjaxSpellCheck service script file is not loaded on the client (this saves about 25K of script and results in faster loading).

For that reason, in case you want to call this particular command programmatically you will need to also include it in the editor tools.

Regards,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Sambasiva
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or