Config FCKeditor_2.6.4 with FCKeditor.Net_2.6.3

This is a step by step tutorial on how to config FCKeditor work together with ASPX。

Step 1:
Download FCKeditor_2.6.4 & FCKeditor.Net_2.6.3

Step 2:
1. Create a new web application called ‘TestFCK’.
2. Copy ‘fckeditor’ folder that exists in FCKeditor_2.6.4 zip file to ‘TestFCK’ folder.
3. Copy \FCKeditor.Net_2.6.3\bin\Release\2.0\FredCK.FCKeditorV2.dll to ‘TestFCK’ bin folder.

Step 3:
1. Create a folder named ‘userfiles’ in ‘TestFCK’ folder.
2. Modify ‘Default.aspx’:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TestFCK._Default" %><%@ 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></title> 

</head> 

<body> 

    <form id="form1" runat="server"> 

    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server"> 

    </FCKeditorV2:FCKeditor> 

    </form> 

</body> 

</html>

Step 4:
Done!

posted @ 2009-05-12 15:48  三生石上(FineUI控件)  阅读(766)  评论(2编辑  收藏  举报