freetextbox 1.6.3使用中的一点总结

<FTB:FreeTextBox ID="ftbNewsItemContent" Width="100%" runat="server"  ButtonPath="../images/ftb/office2003/" HelperFilesPath="HelperFilesPath"  ImageGalleryPath="uploadFiles/admin/news"   ToolbarLayout="ParagraphMenu, FontFacesMenu, FontSizesMenu, FontForeColorsMenu,
 
FontBackColorsMenu, FontForeColorPicker, FontBackColorPicker|InsertImageFromGallery| Bold, Italic, Underline,Strikethrough| JustifyLeft, JustifyRight, JustifyCenter,JustifyFull; BulletedList, NumberedList, Indent, Outdent; CreateLink, Unlink, InsertImage| Cut,Copy, Paste, Delete, Undo, Redo" >
                        </FTB:FreeTextBox>

 

1.freetextbox中的许多功能都是通过HelperFilesPath文件夹下的三个文件来间接实现的ftb.colorpicker.aspx   ftb.imagegallery.aspx   ftb.inserttable.aspx

2 ImageGalleryPath="uploadFiles/admin"  指的是根目录下的uploadFiles/admin文件夹  HelperFilesPath="HelperFilesPath"指的是与本页面同级的目录下的HelperFilesPath,当然可以设成HelperFilesPath="~HelperFilesPath",以从根目录下提取对应的ftb.imagegallery.aspx文件,使用该文件中的代码上传文件(当然要通过对ftb中ImageGalleryPath的设置)

3.如果对于HelperFilesPath、ImageGalleryPath是动态属性值,则可放到程序中赋值

例如:

  protected void Page_Load(object sender, EventArgs e)
    {
       
     
         ftbConent.ImageGalleryPath = "uploadFiles/" + User.Identity.Name;
    }

4.即使不写ToolbarLayout的众多属性,绝大多数的工具栏按钮依然可以出现

 

其他信息可看我另一篇:http://blog.csdn.net/goodshot/article/details/8170034

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值