I'm trying to get the Value property of the FCKeditor in my code-behind file. I've added the following in the file:
protected FredCK.FCKeditor txtText;
, but the compiler complains that it doesn't know what FredCK is.
I also have the following at the top of my aspx-file :
<%@ Register TagPrefix="FredCK" Namespace="FredCK" Assembly="FredCK.FCKeditor" %>
It still does not work. If I take away the:
protected FredCK.FCKeditor txtText;
the editor shows just fine.
What is wrong????
please help me,
/Andy
protected FredCK.FCKeditor txtText;
, but the compiler complains that it doesn't know what FredCK is.
I also have the following at the top of my aspx-file :
<%@ Register TagPrefix="FredCK" Namespace="FredCK" Assembly="FredCK.FCKeditor" %>
It still does not work. If I take away the:
protected FredCK.FCKeditor txtText;
the editor shows just fine.
What is wrong????
please help me,
/Andy
RE: How to get the Value in code-behind?
I solved it!

First it was i (bug) or a thing in Visual Studio. After I added the control in Design-view it worked. sim-sala-bim....
Second I needed to cast the FredCK control in order to get the value. Like this:
string newText = ((FredCK.FCKeditor)(e.Item.FindControl("txtAddText"))).Value;
Then I could insert that in the database like you use to. Nemas problemas