zoukankan      html  css  js  c++  java
  • Web编辑器的使用

    1、复制web编辑器到你的项目中的表现层(UI)
    2、添加引用:FredCK.FCKeditorV2.dll到你的项目中来


    3、页面中加引用
    <%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>


    4、加控件(在需要显示控件的地方加如下代码)


    <table id="table2" style="BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; BORDER-LEFT: black 1px solid; 
                    BORDER-BOTTOM: black 1px solid" width="100%" align="center" bgcolor="#ffffff" border="0" runat="server">
     <tr bgcolor="#bfcbcc" style="420px;">
    <td align="center">新闻内容(请在下面编辑新闻内容)
      <textarea style="DISPLAY: none" tabindex="8" name="content" rows="1"></textarea>
    </td>
     </tr>
    <tr>
     <td style="height:370px; 100%;">
      <FCKeditorV2:FCKeditor id="content" runat="server" BasePath="~/fckeditor/" Width="100%" Height="370">
                   </FCKeditorV2:FCKeditor>
     </td>
       </tr>
         </table>
    5、在page_load事件中加入
    if(!ispostback)
    {
    }
    else
    {
      scont=content.value;
    }




  • 相关阅读:
    函数详解
    print()函数知识点总结
    python基本数据类型-字符串常用操作
    2020.7.17第十二天
    2020.7.16第十一天
    2020.7.15第十天
    2020.7.14第九天
    2020.7.13第八天
    2020.7.12第七天
    2020.7.11第六天
  • 原文地址:https://www.cnblogs.com/fuhaots2009/p/3507589.html
Copyright © 2011-2022 走看看