FCK的用法

1:文件夾拷進項目中

 

2:在工具箱中添加選項卡,(選擇項>選擇工具箱項>bin下的FredCK.FCKeditorV2.dll)

 

3:在  Web.config中的<appSettings>下添加   

   <add key="FCKeditor:BasePath" value="/fckeditor/"/>
    <add key="FCKeditor:UserFilesPath" value="/Files/"/>

注視(第一行中value的值是文件夾放的路徑,第二行中的value是上傳圖片放的路徑,項目中不用自己建,它會自動生成)

 

4:在fckeditor/editor/filemanager/connectors/aspx/connector.aspx和upload.aspx中各添加:

<head id="Head1" runat="server"><title></title></head>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章