Hi there,
Im using the FCKeditor in ASP.NET to create a simple content management system,
I'm using a DetailsView to insert some text into a database and then I'm displaying it on another page using a gridview.
The problem is the FCKeditor only seems to return a boolean value, so no matter what I type, I only get the word 'true' inserted into the database.
Does anyone know what I have to do to get it working properly?
Thanks
Im using the FCKeditor in ASP.NET to create a simple content management system,
I'm using a DetailsView to insert some text into a database and then I'm displaying it on another page using a gridview.
The problem is the FCKeditor only seems to return a boolean value, so no matter what I type, I only get the word 'true' inserted into the database.
Does anyone know what I have to do to get it working properly?
Thanks
Re: FCKeditor just returning a boolean
When I data bound it, I bound it to the 'visible' property.
What I need to know know is what property should I bind?
I tried 'text' but it didn't work.
Any thoughts?
Re: FCKeditor just returning a boolean
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
***Solution***
I added the value property into the source code.
So I changed:
<InsertItemTemplate>
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/fckeditor/">
</FCKeditorV2:FCKeditor>
</InsertItemTemplate>
to:
<InsertItemTemplate>
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Value='<%# Bind("dataBaseFieldName") %>' BasePath="~/fckeditor/">
</FCKeditorV2:FCKeditor>
</InsertItemTemplate>
Problem solved!