The samples don't work on my system. default.html in the _samples directory doesn't work. The editor area appears with the text but the full editor doesn't appear. I have the latest v2 distribution.
The patch for FileBrowserConnector.cs doesn't impact just showing the editor. I can't get the editor to appear. It would be a great help if someone could post a simple example of a page that works, along with any relevant codebehind lines.
My page is set up the same way. The control is present in the page, and the value text for the editor is even present in the viewstate. But the control consists of an empty fckeditorarea.html page (nothing inside the body tag) in the iframe.
There must be something really simple I am missing.
Should there be a script tag in the page header referencing a .js file?
It's not there. fckconfig.js is in the _source tree. So I don't know what to do. Instead I jammed the line into the compressed fck_startup.js file right before the reference.
The error is fixed but now there is a new one: FCKLang is undefined.
I shouldn't have to be doing this stuff on an RC1 level product. What exactly am I missing here? Did I download the wrong RC1 files?
Ok, I have stumbled along, adding config settings and fixed a few more javascript errors.
Where are the config settings defined? There is no help file.
You may not be working with a clean install of v2 as I am.
Now I am getting the popup alert: Toolbar set "Default" doesn't exist. Playing around blindly with the toolbar settings isn't working. The example code never goes into toolbar sets.
Maybe your dist is too clean? IE it sounds like you are missing key files.
No matter what, you should be able to get a sample editorarea with the HTML sample files. If you are not getting anything with those, there is a problem.
I've been extreamly pleased with this project, from v2 beta 1. Good bit of docs, good bit of samples... working examples right out the box.
Maybe you should try downloading the package again?
I will try another download -- I used the only one I saw, rc1 from sourceforge. I'm usually good at setting things up. I just tried v1.6 and it ran immediately, unfortunately no full editor in firefox for some reason. v1.6 looks great otherwise.
Ok, I have v2 working now. By installing and using 1.6 I saw my error with v2. I was completely brain dead and installed the support files incorrectly -- I shifted the file tree up one level. Thank you for your replies and patience.
RE: Sample aspx page?
RE: Sample aspx page?
RE: Sample aspx page?
If anyone has v2 working on an asp.net page they are keeping pretty quiet about it. :+>
RE: Sample aspx page?
RE: Sample aspx page?
RE: Sample aspx page?
<%@ Register TagPrefix="fckeditorv2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<FCKeditorV2:FCKeditor id="EditorFCK" runat="server" Height="400px" />
--------
public class edit : System.Web.UI.Page
{
protected FredCK.FCKeditorV2.FCKeditor EditorFCK;
private void Page_Load(object sender, System.EventArgs e)
{
EditorFCK.BasePath = "/fck/";
EditorFCK.Config["SkinPath"] = EditorFCK.BasePath + "editor/skins/office2003/" ;
EditorFCK.Config["UserFilesPath"] = "/";
...
RE: Sample aspx page?
My page is set up the same way. The control is present in the page, and the value text for the editor is even present in the viewstate. But the control consists of an empty fckeditorarea.html page (nothing inside the body tag) in the iframe.
There must be something really simple I am missing.
Should there be a script tag in the page header referencing a .js file?
RE: Sample aspx page?
function FCKeditor_OnComplete( editorInstance ) {
window.status = editorInstance.Description ;
}
RE: Sample aspx page?
line: 25
char: 570
FCKConfig.CustomConfigurationsPath.length is null or is not an object
Perhaps this is the problem? I have no clue as to what CustomConfigurationsPath is.
RE: Sample aspx page?
FCKConfig.CustomConfigurationsPath = '';
RE: Sample aspx page?
The error is fixed but now there is a new one: FCKLang is undefined.
I shouldn't have to be doing this stuff on an RC1 level product. What exactly am I missing here? Did I download the wrong RC1 files?
RE: Sample aspx page?
Where are the config settings defined? There is no help file.
You may not be working with a clean install of v2 as I am.
Now I am getting the popup alert: Toolbar set "Default" doesn't exist. Playing around blindly with the toolbar settings isn't working. The example code never goes into toolbar sets.
Thanks for any assistance.
RE: Sample aspx page?
No matter what, you should be able to get a sample editorarea with the HTML sample files. If you are not getting anything with those, there is a problem.
I've been extreamly pleased with this project, from v2 beta 1. Good bit of docs, good bit of samples... working examples right out the box.
Maybe you should try downloading the package again?
RE: Sample aspx page?
RE: Sample aspx page?