Hi All
I am trying to use the fckeditor within an <EditItemTeplate> in a form view control in Visual Studio 2008. I have been following the tutorial in the book "ASP.NET 3.5 Content Management System Development" by Curt Christianson & Jeff Cochran. (I am a bit of a beginner so please be patient)
I have registered the FredCK.FCKeditorV2.dll on the page and the full code of the page is
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Edit.aspx.vb" Inherits="Edit" %> <%@ 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> <div> <form id="form1" runat="server"> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:BEWDCMSConnectionString %>" SelectCommand="SELECT [Content] FROM [Content]"></asp:SqlDataSource> <asp:FormView ID="FormView1" runat="server" DataSourceID="SqlDataSource1" DefaultMode="Edit"> <EditItemTemplate> <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Value='<%#Bind("Content") %>'> </FCKeditorV2:FCKeditor> </EditItemTemplate> </asp:FormView> </form> </div> </body> </html>
Re: fckeditor in asp:formview
I have tried different things but it didn't work!