This is a discussion on "FCKeditor" within the ASP.NET Forum section. This forum, and the thread "FCKeditor are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
FCKeditor
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
FCKeditor
Hi!
I am trying to set up FCKeditor to edit some content stored in an Access-database. I have set up the editor and it works, but how can I get the content from the database into the editable area? I have an formview and an AccessDataSource in the same page that works(just for the example, to se that the connection works). The code is: <%document.write('@'); @ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%document.write('@'); @ 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> Anyone who has a tip to point me into the solution? I have searched www.fckeditor.net and a lot of other forums, but I still don't get it up and running... |
|
|
![]() |
| Tags |
| fck, fckeditor |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FCKEditor | nashultz07 | Scripts and Online Services | 8 | Aug 28th, 2007 23:08 |