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.
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.
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.
Member
33 Points
216 Posts
Getting FCKEditor to work
May 01, 2006 05:48 PM|jerrykur|LINK
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>
=============
Member
33 Points
216 Posts
Re: Getting FCKEditor to work
May 01, 2006 07:55 PM|jerrykur|LINK
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
None
0 Points
40 Posts
Re: Getting FCKEditor to work
Aug 10, 2006 08:41 AM|jyoti22apr|LINK
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
None
0 Points
40 Posts
Re: Getting FCKEditor to work
Aug 11, 2006 02:31 AM|jyoti22apr|LINK
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...
Member
162 Points
482 Posts
Re: Getting FCKEditor to work
Dec 17, 2006 03:14 PM|blumonde|LINK
Hi Jerry,
Could you please post the code on how to set the ImageBrowserURL, and LinkBroswer? Many thanks.
blumonde
no pain no gain
Member
162 Points
482 Posts
Re: Getting FCKEditor to work
Dec 17, 2006 07:10 PM|blumonde|LINK
It works now. Tks.
blumonde
no pain no gain
Member
50 Points
16 Posts
Re: Getting FCKEditor to work
Aug 03, 2008 11:35 AM|Samson.Net|LINK
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" /></
body></
html>and it works
excellent job
thanks
Samson
Member
41 Points
107 Posts
Re: Getting FCKEditor to work
Mar 09, 2009 11:40 AM|devilsuraj|LINK
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
None
0 Points
1 Post
Re: Getting FCKEditor to work
Dec 07, 2010 07:34 AM|vinodsivram|LINK
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
None
0 Points
9 Posts
Re: Getting FCKEditor to work
Jun 03, 2011 04:03 AM|sarina|LINK
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.
Member
7 Points
187 Posts
Re: Getting FCKEditor to work
Aug 26, 2011 07:24 AM|delickate|LINK
Thanks for the code,
it helps me.
Thanks a lot
Member
437 Points
329 Posts
Re: Getting FCKEditor to work
Feb 15, 2012 06:21 AM|vikvish1|LINK
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
vikvish
Howtouseasp.net
Useofaspdotnet/