Hi everyone,
I have a problem about ckeditor and ckfinder integration in form view.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
FileBrowser fl = new FileBrowser();
fl.BasePath = "ckfinder/";
fl.SetupCKEditor(CKEditorControl1);
}
}
When I write these codes in page load and use ckeditor without formview everyting is fine and ckfinder integration works well,
But if I use ckeditor in form view I get error...
if (!IsPostBack)
{
CKEditorControl cke1 = (CKEditorControl)fw.FindControl("CKEditorControl1");
FileBrowser fl = new FileBrowser();
fl.BasePath = "ckfinder/";
fl.SetupCKEditor(cke1);
}
ERROR MESG:
SetupCKEditor expects an CKEditor instance object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ApplicationException: SetupCKEditor expects an CKEditor instance object.
Source Error:
I checked the forum and web but couldnt find anything,Please somebody help about that. Best regards. |
ANY ASWER PLEASE I HAVE
ANY ASWER PLEASE I HAVE STUCKED ON THAT URGENT HELP REQUIRED PLEASE...!