I'm trying to use the control version 2.1 with VS.Net 7.1.3088 and IE 6.0.2800.1106 but whenever I run the .aspx in the browser it gives me this javascript error after rendering the control (and before it actually put the text I wanted to edit in it):
line: 25
character: 270
error: 'FCKConfig.CustomConfigurationsPath.length' is null or is not an object
code: 0
URL: http://localhost/test/Moduli/editor/fck ... ar=Default
I had to copy the editor folder along with all the html and js, etc. from the package FCKeditor_2.0rc3.zip from here http://www.fckeditor.net/ since into the FCKeditor.Net_2.1.zip I couldn't find any of those (that are required by the .Net control).
Has anyone any clue?
Thanks in advance for any help.
p.s.: if I set the FCKeditor1.CustomConfigurationsPath property to a value then that error disappear but then I get:
line: 25
character: 1266
error: property or method not supported by the object
in the same URL...
Fri, 05/06/2005 - 03:04
#1
RE: .net control 2.1 gives error with VS.Net
FCKeditor1.PluginsPath = sPath + "editor/plugins/";
FCKeditor1.BaseHref = "";
FCKeditor1.CustomConfigurationsPath = "";
FCKeditor1.ToolbarSet = "";
This one selects the language and it's not stricly necessary:
FCKeditor1.DefaultLanguage = "en";
Just to find out I had to spend a day tracing tre javascript code! I wonder if the samples provided with the .Net control have been actually tested or not...