Hi all,
I employed FCKeditor in my last project within a vb.net environment and had no problems...in fact I customized it quite a bit. Now I'm working on a project in C# and it's giving me the following error:
Compiler Error Message: CS0117: 'FredCK.FCKeditorV2.FCKeditor' does not contain a definition for 'value'
page code is:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="testform.aspx.cs" Inherits="testform" validateRequest="false" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.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" width="670" height="500" BasePath="~/FCKeditor/" runat="server" Value="Hello" />
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</div>
</form>
</body>
</html>
code behind is:
using System;
using System.Configuration;
using System.Collections;
using System.Web;
public partial class testform : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string stxt = FCKeditor1.value;
}
}
The fckeditor dll is in the Bin directory and the default page changes made in the fckeditor config file. Anybody seen this or have any idea what's going on? This is .net 2.0
Thanks,
Steve
Thu, 04/26/2007 - 11:11
#1