<%@ Page Language="VB" %>
<%@ 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>
<asp:AccessDataSource ID="AccessDataSource_test" runat="server" DataFile="~/App_Data/bc.mdb"
SelectCommand="SELECT [Artikkel] FROM [provekjoring]"></asp:AccessDataSource>
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="FCKeditor/">
</FCKeditorV2:FCKeditor>
<asp:FormView ID="FormView1" runat="server" DataSourceID="AccessDataSource_test">
<ItemTemplate>
Artikkel:
<asp:Label ID="ArtikkelLabel" runat="server" Text='<%# Bind("Artikkel") %>'></asp:Label><br />
</ItemTemplate>
</asp:FormView>
</div>
</form>
</body>
</html>
Tue, 08/14/2007 - 16:28
#1

Re: asp.net and FCKeditor
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="FCKeditor/" Value='<%# Eval("YourProperty") %>'>
</FCKeditorV2:FCKeditor>
You don't need to use Bind because you are only using one way databinding. Hope this helps.
Re: asp.net and FCKeditor
Value='<%# Eval("YourProperty") %>'
Is it by any chance related to the formview?
Re: asp.net and FCKeditor