Installing fckeditor with ASP.NET 2.0

I am having trouble installing fckeditor with ASP.NET 2 in a Visual Studio 2005 project.  I think I followed the directions, but I am coming up with "ERROR 404 -  Not Found" when I debug the project. The steps I took are:

1.  Copied the dll file (FredCK.FCKeditorV2.dll) to the Bin directory and added a reference to it.
2.  Added the folder FCKeditor (with contents to the project).  
3.  Created a new page using the code listed in the snippet

What am I doing wrong?  My guess is that I am not placing the folder "FCKeditor" in the correct manner.  If someone could please assist me as soon as possible, that would be nice.

Thanks!
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
 
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server"> </FCKeditorV2:FCKeditor>

Open in new window

LVL 1
jjrr007Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

prairiedogCommented:
You need to specify FCKEditor's basepath in your code.
In your page load, add something like this:
FCKeditor1.BasePath =
Request.ApplicationPath & "/UserControls/FCKeditor/"
I assume you placed FCKeditor folder under "UserControls" folder, if not, change it to match your folder structure.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jjrr007Author Commented:
Thanks for your time.  I made the change and received an error saying:
Compiler Error Message: CS0019: Operator '&' cannot be applied to operands of type 'string' and 'string'

I have attached the entire C# code (It is only one page in this project) in the snippet below.  I think you would have the ASP.net code too, but I have attached it in the snippet.  I am not sure what to change. What do you suggest?

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
 
public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        FCKeditor1.BasePath = Request.ApplicationPath & "/fckeditor/";
    }
}
 
***ASP.NET code is below***
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<%@ 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>

Open in new window

0
prairiedogCommented:
I used VB.NET in my sample, and you are using C#. So change "&" to "+" for th e string concatenation in C#.
0
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

jjrr007Author Commented:
That worked perfectly.  I apologize for the delay.  I needed to leave the office at 5 PM last Friday and I don't work on Saturday or Sunday.  
0
jjrr007Author Commented:
Thanks for your expertise.
0
prairiedogCommented:
>>>I needed to leave the office at 5 PM last Friday and I don't work on Saturday or Sunday.  
I need to do that too, but I find myself some excuse to get on-line for some time during weekends, and my wife does not like it. :-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.