FCKeditor使用详解
来源:互联网 发布:网络捕鱼游戏技巧大全 编辑:程序博客网 时间:2024/05/23 19:39
你如果是CSDN的博客,你就一定用过FCKeditor。因为你写文章用的那个编辑器就是FCKeditor.
本文参考下面的2篇文章所写。
1 asp.net 2.0 下设置和使用FCKeditor文本编辑器
2 FCKeditor 在ASP.Net 中的使用说明
只要按照1配置即可。
文件下载我的是FCKeditor.Net_2.2.zip和FCKeditor_2.4.2.zip
1 webconfig.xml的设置:
<appSettings>
<add key="FCKeditor:BasePath" value="~/FCKeditor/"/>
<add key="FCKeditor:UserFilesPath" value="/Hhxx/FckFiles" />
<add key="DatabaseConnStr" value="Data Source=hhxx;User ID=HHSYS;Password=1234;"/>
</appSettings>
2 在根目录Hhxx下建文件夹FckFiles用于存放图像文件
3 在根目录Hhxx下建FCKeditor放置文件
4 建立测试文件
fckeditor.aspx
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="fckeditor.aspx.cs" Inherits="fckeditor" ValidateRequest="false" %>
<!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>FCKeditor</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<FCKeditorV2:FCKeditor id="FCKeditor1" runat="server" Height="500px" Width="600px"></FCKeditorV2:FCKeditor>
</div>
</form>
</body>
</html>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="fckeditor.aspx.cs" Inherits="fckeditor" ValidateRequest="false" %>
<!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>FCKeditor</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<FCKeditorV2:FCKeditor id="FCKeditor1" runat="server" Height="500px" Width="600px"></FCKeditorV2:FCKeditor>
</div>
</form>
</body>
</html>
运行即可。
保存Fckeditor值用Value类型为String.
测试通过
- FCKeditor使用详解
- FCKeditor使用详解
- FCKeditor使用详解
- FCKeditor使用详解
- JSP使用FCKeditor详解
- FCKeditor API使用详解
- FCKeditor使用详解(转)
- FCKeditor API使用详解
- FCKeditor使用详解
- FCKeditor API使用详解
- FCKeditor API使用详解
- JSP使用FCKeditor详解
- FCKeditor使用详解
- JSP使用FCKeditor详解
- HTML编辑器FCKeditor使用详解
- HTML编辑器FCKeditor使用详解
- FCKeditor使用详解(汇总)
- HTML编辑器FCKeditor使用详解
- 在Weblogic上配置Hibernate为JNDI
- 网站测试技术简介
- 十万火急提醒你五件事
- PHP实现文件安全下载
- 会话跟踪技术例子——隐藏表单域
- FCKeditor使用详解
- Linux的内存管理(free 详解)
- 给LUA添加自己的函数库
- [原创]单网卡实现VPN
- 30部必读的投资学经典
- 家,爱情,婚姻
- 心情日记
- Gentoo 下如何关闭/打开网络接口
- PHP 数据加密