zoukankan      html  css  js  c++  java
  • 在ASP.NET中使用FCKeditor V2

    2011-04-14 16:42:17|  分类: 软件 |字号 订阅

     
    1.将FCKeditor添加到项目中;
    2.在引用中添加引用fredck.fckeditorv2.dll;
    3.在项目中新建一个文件夹UserFiles,用来保存图片,flash,...;
    4.在.aspx页面中添加如下代码:
    <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
    <div>
      <FCKeditorV2:FCKeditor ID="txtContent" runat="server" BasePath="../FCKeditor/" Height="400px">
      </FCKeditorV2:FCKeditor>
    </div>;

    5.FCKeditor就可以使用了,可以相应在FCKeditor周围添加一些控件;
    6.SQL数据库字段txtContent使用text.
     
    别忘了,在web.config加,否则显示网页错误
    <appSettings>
      <add key="FCKeditor:BasePath" value="~/fckeditor/"/>
      <add key="FCKeditor:UserFilesPath" value="/Files/"/>
     </appSettings>
  • 相关阅读:
    手机兼容性测试
    Monkey测试
    ADB常用指令
    ADB移动端测试
    关于虚拟网卡V1,V8的问题
    1
    排序算法
    查找算法
    二叉树的计算
    队列
  • 原文地址:https://www.cnblogs.com/qqhfeng/p/3137241.html
Copyright © 2011-2022 走看看