asp.net 之 纵横FreeTextBox

下载地址:
http://www.cnblogs.com/Files/cleo/FTBv3-1-6.zip

http://www.percyboy.com/w/ftb/down/FTB_1.6.3_zh.zip 

http://www.percyboy.com/w/ftb/down/FTB_1.6.3_zh_Source.zip  (源码!!)

    

一.控件版本

     根据本人经验 强烈推荐两个常用也比较好用的版本

    1. FreeTextBox1.6.3(破宝) 源码开放 支持asp.net 1.0 本人试过 在vs2005中不能正常运行.

    2.FreeTextBox3.1.6 最新2.0版 支持asp.net 2005

    同时最重要的也是我们选择他的最大理由,两个都支持文件上传(图片上传功能)

二.操作说明 (asp .net 2005)

    .Net2.0的配置相对简单了很多

   1.把 Framework-2.0 里面的 FreeTextBox.dll   Copy到项目的bin文件夹底下(未编译之前需要手工创建)或在项目中添加引用FreeTextBox.dll 到bin文件夹

   2.把ftb.imagegallery.aspx文件copy 到所在目录(既引用控件文件所在的目录)

   3.把aspnet_client文件夹copy到站点目录,里面的FreeTextBox包含所有的控件素材!!

   4.在页面中引用

    在所引用的页面添加引用<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>

         在页面中添加 控件  <FTB:FreeTextBox ID="content" runat="Server"
           ButtonDownImage="True"
           ImageGalleryPath="../upload"
           Language="zh-CN"
           toolbarlayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker|Bold,Italic,Underline,Strikethrough,Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage|Cut,Copy,Paste,Delete;Undo,Redo,Print,Save|SymbolsMenu,StylesMenu,InsertHtmlMenu|InsertRule,InsertDate,InsertTime|InsertTable,EditTable;InsertTableRowAfter,InsertTableRowBefore,DeleteTableRow;InsertTableColumnAfter,InsertTableColumnBefore,DeleteTableColumn|InsertForm,InsertTextBox,InsertTextArea,InsertRadioButton,InsertCheckBox,InsertDropDownList,InsertButton|InsertDiv,EditStyle,InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell">
           </FTB:FreeTextBox>还有很多属性,可自己慢慢研究。

         同时ftb.imagegallery.aspx也有属性要设置 各种属性可参考说明

  <FTB:ImageGallery id="ImageGallery1"
   JavaScriptLocation="ExternalFile"
   UtilityImagesLocation="ExternalFile"
   AllowImageDelete="true"
   AllowImageUpload="true"
   SupportFolder="~/aspnet_client/FreeTextBox/"
   AllowDirectoryCreate="false"
   AllowDirectoryDelete="false" runat="Server" />

   这样在后台就可以用content.Text取得编辑框的值进行各种操作了。

下载地址:
http://www.cnblogs.com/Files/cleo/FTBv3-1-6.zip

http://www.percyboy.com/w/ftb/down/FTB_1.6.3_zh.zip 

http://www.percyboy.com/w/ftb/down/FTB_1.6.3_zh_Source.zip  (源码!!)

    

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值