Hi all,
I'm using the ASP.Net control (VS2005, .Net 2) to try using FCKEditor version 2.5. I've got the control on my test page, the "editor" directory is in the same directory as the page, and all looks well...
That is, at least, until I try viewing the page. In both Firefox and IE, I get a big blank area where I am expecting the editor to show up. From looking at other posts, it looks like similar problems have been solved with the BasePath. However, I'm not getting a "404/Not Found" error. I'm getting a solid white box where the control should be. If I change the basepath to something that doesn't exist, I get the 404...but haven't been able to actually get the control to display.
Viewing source shows that the control is "there" ...
<div><input type="hidden" id="ctl00_ContentPlaceHolder1_FCKeditor1" name="ctl00$ContentPlaceHolder1$FCKeditor1" value="Create your message here!" /><input type="hidden" id="ctl00_ContentPlaceHolder1_FCKeditor1___Config" value="HtmlEncodeOutput=true" /><iframe id="ctl00_ContentPlaceHolder1_FCKeditor1___Frame" src="/WayJay/Members/editor/fckeditor.html?InstanceName=ctl00_ContentPlaceHolder1_FCKeditor1&Toolbar=Default" width="100%" height="200px" frameborder="no" scrolling="no"></iframe></div>
I've also enabled directory browsing and navigated directly to fckeditor.html...and it's blank, too.
Am I missing some kind of configuration? The control is added simply enough:
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="" Value="Type your message here!"> </FCKeditorV2:FCKeditor> (Note that the base path is set during PageLoad.)
Anyone have any ideas that I could start looking at? I'm out of ideas...just seems like the thing isn't initializing itself or something..I don't know.
Thanks in advance to any and all!
I'm using the ASP.Net control (VS2005, .Net 2) to try using FCKEditor version 2.5. I've got the control on my test page, the "editor" directory is in the same directory as the page, and all looks well...
That is, at least, until I try viewing the page. In both Firefox and IE, I get a big blank area where I am expecting the editor to show up. From looking at other posts, it looks like similar problems have been solved with the BasePath. However, I'm not getting a "404/Not Found" error. I'm getting a solid white box where the control should be. If I change the basepath to something that doesn't exist, I get the 404...but haven't been able to actually get the control to display.
Viewing source shows that the control is "there" ...
<div><input type="hidden" id="ctl00_ContentPlaceHolder1_FCKeditor1" name="ctl00$ContentPlaceHolder1$FCKeditor1" value="Create your message here!" /><input type="hidden" id="ctl00_ContentPlaceHolder1_FCKeditor1___Config" value="HtmlEncodeOutput=true" /><iframe id="ctl00_ContentPlaceHolder1_FCKeditor1___Frame" src="/WayJay/Members/editor/fckeditor.html?InstanceName=ctl00_ContentPlaceHolder1_FCKeditor1&Toolbar=Default" width="100%" height="200px" frameborder="no" scrolling="no"></iframe></div>
I've also enabled directory browsing and navigated directly to fckeditor.html...and it's blank, too.
Am I missing some kind of configuration? The control is added simply enough:
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="" Value="Type your message here!"> </FCKeditorV2:FCKeditor> (Note that the base path is set during PageLoad.)
Anyone have any ideas that I could start looking at? I'm out of ideas...just seems like the thing isn't initializing itself or something..I don't know.
Thanks in advance to any and all!

Re: ASP.Net control not displaying
Using IE, I can go through 4 errors before it finally displays nothing.
1. FCKCOnfig.CustomConfigurationPath.length is null or not an object
.../fckeditor.html?InstanceName=ctl&Toolbar=Default
2. PluginsPath is null or not an object
3. FCKLang is undefined
4. 'undefined' is null or not an object
I still can't help but wonder if I missed some kind of "initial setup" step or something...
Anyone?
Re: ASP.Net control not displaying
My directory path was:
~/editor/fckeditor.html
Which means, somewhere along the lines, a bunch of .JS files were omitted.
Now, the paths go like:
~/editor/ [bunch of files, including fckeditor.js] / [bunch of files, including fckeditor.html]
...thanks for all the help...heh
Re: ASP.Net control not displaying
Re: ASP.Net control not displaying
Basically, my problem was that when I deployed it, the directory structure ended up like:
\editor\fckeditor.html (and a couple html files)
the correct directory structure (at least, what's working for me) is:
\editor\[files1]\editor\[files2]
The files for [files1] are files like:
fckconfig.js
fckeditor.*
fckstyles.xml
and others
Down from that directory into another \editor\ directory are the HTML files (fckeditor.html, for example) as well as various other directories (with files.)
So, the [files2] list is something like:
fckdebug.html
fckeditor.html
fckdialog.html
..and folders, \css\, \dialog\, \dtd\, \filemanager\, \images\, \js\, \lang\, \plugins\ and \skins\
I hope that makes sense...good luck!
Re: ASP.Net control not displaying
http://www.fckeditor.net/download
http://www.psykoptic.com/blog/post/2008 ... n-NET.aspx
http://blog.evonet.com.au/post/2008/09/ ... -Site.aspx