在asp.net 状态下,有两款不错的网页编辑器,分别是freetextbox和fckeditor,网上不少文章介绍之,现归纳之
1 freetextox
安装时引用freetexbox.dll就可以了,拖拉控件
在web.config中添加
<httpHandlers>
<add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox"/>
</httpHandlers>
要特别注意的是vs.net 2005+asp.net 2.0下,还要在要用freetextbox的页面里设置好
<FTB:FreeTextBox ID="FreeTextBox1" runat="server" BackColor="WhiteSmoke" SupportFolder="~/FtbWebResource.axd">
</FTB:FreeTextBox>
不要漏了supportfolder,否则出错
还有,要设置好
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" validateRequest="false" %>
中的validaterequest=false;
2 fckeditor
安装十分麻烦,文章不少,现归纳之
FCKeditor2.2+ASP.NET2.0不完全攻略
http://blog.csdn.net/21aspnet/archive/2007/04/11/1559848.aspx
http://www.cnblogs.com/zhouxuanmsn/articles/729683.html
http://blog.blueshop.com.tw/topcat/archive/2006/11/30/45727.aspx
http://blog.csdn.net/lanhai180/archive/2006/02/23/607099.aspx
1 freetextox
安装时引用freetexbox.dll就可以了,拖拉控件
在web.config中添加
<httpHandlers>
<add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox"/>
</httpHandlers>
要特别注意的是vs.net 2005+asp.net 2.0下,还要在要用freetextbox的页面里设置好
<FTB:FreeTextBox ID="FreeTextBox1" runat="server" BackColor="WhiteSmoke" SupportFolder="~/FtbWebResource.axd">
</FTB:FreeTextBox>
不要漏了supportfolder,否则出错
还有,要设置好
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" validateRequest="false" %>
中的validaterequest=false;
2 fckeditor
安装十分麻烦,文章不少,现归纳之
FCKeditor2.2+ASP.NET2.0不完全攻略
http://blog.csdn.net/21aspnet/archive/2007/04/11/1559848.aspx
http://www.cnblogs.com/zhouxuanmsn/articles/729683.html
http://blog.blueshop.com.tw/topcat/archive/2006/11/30/45727.aspx
http://blog.csdn.net/lanhai180/archive/2006/02/23/607099.aspx