|
| Enable/Disable FCKEditor at server-side |
 |
Thu, 3 Apr 2008 03:06:01 +0000 |
Hi,
How exactly to enable / disable a FCKEditor at server-side in a web page w/
master pages? I tried using code below to test if it is working...
var oEditor =
FCKeditorAPI.GetInstance('ctl00_phContent_FeatureContent');<<--- ok here
tested using alert(oEditor) result to displaying [object]
oEditor.EditorDocument.body.disabled = true;<<-- Error
Another thing how do you execute a javascript method when page loads (to
disable fckeditor)??
I search here and found no related/working answer...
Hope to hear some info soon...
Thanks in advanced.
|
| Post Reply
|
| Re: Enable/Disable FCKEditor at server-side |
 |
Thu, 3 Apr 2008 08:17:54 +0000 |
Add a runat="server" and an ID to the editor in the aspx and then do
FCKEditorID.Visible = false;
|
| Post Reply
|
|
|
|
|
|
|
|
|
|