locked
Getting FCKEditor to work RRS feed

  • Question

  • User-1289522517 posted
    Hi,

    I am trying to add FCKEditor to a page on my ASP.net 2.0 site.  However, when I launch my page with the control I get a 404 (file not found) error.  No details are provided on the file not found.:-<

    To install the control I did the following:

    1) Downloaded FCK Editor, uncompressed the zip, and copied the FCKEditor folder to my website.
    2) Downloaded FCKEditor.net, uncompressed the zip, copied FredCK.FCKEditorV2.dll to a bin sbfolder
    3) Added the FredCK.FCKEditorV2.dll to form editor.
    4) Dragged the editor to the page.  The resulting file is below.

    Am I missing a step?

    Thanks,

    Jerry

    ===========
    %@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
    <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server">
            </FCKeditorV2:FCKeditor>
       
        </div>
        </form>
    </body>
    </html>
    =============

    Monday, May 1, 2006 5:48 PM

All replies

  • User-1289522517 posted
    Ok I got this to work.

    I had to set the BasePath, ImageBrowserURL, and LinkBroswer.  (I believe only the BasePath is required but I will need to the other 2 at a later point).   I set BasePath to "~/FCKEditor/" which is where the scripts reside on my site.  I had to do this in the cs module, even though the BasePath property is set to the same location on the control's property page.  Strange.

    jerry


    Monday, May 1, 2006 7:55 PM
  • User-327406046 posted


    Hellow.,

              Sorry for direct contact.But i want to ask u a query .Its argent to be in work.My task is

    Test and evaluate the FCKeditor.NET control.(FCKEditor in SketchControl).

    But i not understand why FCK editor require.Still i try 1 example send u code -->

    <%@ Page Language="C#" AutoEventWireup="false" ValidateRequest="false" CodeFile="Default.aspx.cs" Inherits="_Default" %>

    <%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>

     

    <html>

    <head>

    <title>FCKeditor - Sample</title>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    </head>

    <body>

    <form id="Form1" runat="server">

    <FCKeditorV2:FCKeditor id="FCKeditor1" BasePath="/FCKeditor/" runat="server"></FCKeditorV2:FCKeditor>

    <br>

    <input id="Submit1" type="submit" value="Submit" runat="server">

    </form>

    </body>

    </html>

    But Give error like->server error HTTP Error 404 - Not Found.
    pls tell what to do

    Thursday, August 10, 2006 8:41 AM
  • User-327406046 posted

    hi... jrrrykur

         Thanks a lot.i have also same problem like u got .And i solved it bze of your answer.

    Thanks a lot.

    Now..i want to do...

    Test and evaluate the FCKeditor.NET control.(FCKEditor in SketchControl).

         Have u any suggestion regarding this...

    Ols tell...

    Friday, August 11, 2006 2:31 AM
  • User-151304380 posted

    Ok I got this to work.

    I had to set the BasePath, ImageBrowserURL, and LinkBroswer.  (I believe only the BasePath is required but I will need to the other 2 at a later point).   I set BasePath to "~/FCKEditor/" which is where the scripts reside on my site.  I had to do this in the cs module, even though the BasePath property is set to the same location on the control's property page.  Strange.

    jerry


    Hi Jerry,

    Could you please post the code on how to set the ImageBrowserURL, and LinkBroswer? Many thanks.

    blumonde

    Sunday, December 17, 2006 3:14 PM
  • User-151304380 posted

    It works now. Tks.

    blumonde

    Sunday, December 17, 2006 7:10 PM
  • User1013492856 posted

    Hi jerry

    U have done excellent job,i was trying and finally issue solved

    <%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>

    <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head runat="server">

    <title>Untitled Page</title>

    </head>

    <body>

    <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server" />

     

    <div>

    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath ="~/FCKEditor/" ImageBrowserURL="~/FCKEditor/" LinkBrowserURL="~/FCKEditor/" >

    </FCKeditorV2:FCKeditor>

    </div>

    </form>

    </body>

    </html>

    and it works

    excellent job

    thanks

    Samson

    Sunday, August 3, 2008 11:35 AM
  • User578298464 posted

     

    hi i have uploaded app on server , it works great on local machine but when i uploaded it 

    it gives me error in this line

     <%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
     An
    error occurred during the parsing of a resource required to service
    this request. Please review the following specific parse error details

    and modify your source file appropriately.

    any sugesions
    http://esourceglobal.com/dev/post%20Article.aspx
    you can check that error page here
     
     

    Monday, March 9, 2009 11:40 AM
  • User1843897090 posted

    Hi I was integrating the FCK editor with my .NET project . and it works fine. 


    But when I try to get the value when submitting the form, it is not getting any value from there. 

    One interesting thing I found is that , when I set the value of the fck editor when it loads , that value is submitting to the action page. 


    but the updated contents are not avilable for me 

    Pls help me to solve this


    Thanks in advance 

    Vinod 


    Tuesday, December 7, 2010 7:34 AM
  • User-221001158 posted

    hi!

    I need your help .

    i am using Fckeditor in webusercontrol page.

    Code asp.net with c# :

    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControlEditor.ascx.cs" Inherits="modules_WebUserControlEditor" %>

    <%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="Website1/FCKeditor/">

    </FCKeditorV2:FCKeditor>

    _______________________________________________________________________________________________________________

    message Error :

    Server Error in '/WebSite1' Application.


    HTTP Error 404 - Not Found.


    Version Information: ASP.NET

     


    BasePath="Website1/FCKeditor/

    is true

    plaese help me .

    thanks. 

     

     

     

     

    Friday, June 3, 2011 4:03 AM
  • User-1999101176 posted

    Thanks for the code,

    it helps me.

    Thanks a lot

    Friday, August 26, 2011 7:24 AM
  • User-1230503176 posted

    Hello delickate,

    can u give me the whole source/website code with running FCK EDITOR

    as such i m trying at my end to integrate with asp.net but no any success.

    e-mail me at vikram_dhawan82@yahoo.com

    with regards

    vik

    Wednesday, February 15, 2012 6:21 AM