自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(0)
  • 资源 (3)
  • 收藏
  • 关注

空空如也

CHM帮助文件转为Word

当手里只有CHM形式的帮助文件时如果需要重新更改,而此时又没有源文件时可以使用该工具,可以帮你轻松的活的源文件.

2010-06-07

图片所占空间的处理工具

图片所占空间很大,怎么办? 可以使用该工具轻松的将所占空间缩小.很容易就能上手

2010-06-07

FreeTextBox 3.2.4

FreeTextBox使用详解 Author: Annerose Date:12/16/2005 版本: FreeTextBox 3.1.1 ASP.NET1.1 1.下载 FreeTextBox 3.1.1 (released 2005/11/08) http://www.freetextbox.com/downloads.aspx 2. 安装 FreeTextBox 3.0以上版本均支持内部模式,即图片资源和javascript都集成在dll中, 本文仅探讨内部模式(Internal Resources). 1) 把FTBv3-1-1\Framework-1.1\FreetextBox.dll拷入bin目录. 2) 在项目中添加FreetextBox.dll的dll引用 3) Web.config加入如下代码3. 使用FreeTextBox 1<?xml version="1.0" encoding="utf-8" ?> 2 <configuration> 3 <system.web> 4 <httpHandlers> 5 <add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" /> 6 </httpHandlers> 7 <system.web> 8 <configuration> 1) aspx页面顶上 2) 调用3)工具栏皮肤 4) 得到保存编辑的内容 5) 客户端中检测到有潜在危险的 Request.Form 值4 图片上传 1) 工具栏上添加ImageGallery按钮. 2) 拷贝 "ftb.imagegallery.aspx" 文件到同一目录下 http://wiki.freetextbox.com/default.aspx/FreeTextBoxWiki.ImageGallery <%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %><FTB:FreeTextBox id="FreeTextBox1" runat="Server" />ToolbarStyleConfiguration = Offoce2003/OfficeXP/Office2000/MAC 1 private void InitializeComponent() 2 { 3 // 指向同一个委托 4 this.FreeTextBox1.SaveClick += new System.EventHandler this.FreeTextBox1_SaveClick); 5 this.Button1.Click += new System.EventHandler(this.FreeTextBox1_SaveClick); 6 } 7 8 private void FreeTextBox1_SaveClick(object sender, System.EventArgs e) 9 { 10 divshow.InnerHtml = FreeTextBox1.Text; 11 }<%@ Page language="c#" ValidateRequest="false"%> <FTB:FreeTextBox ..ToolbarLayout=" ..,InsertImageFromGallery,.. /> 3) FreeTextBox 属性设置 ImageGalleryPath = "~/image/upload" 上传默认路径 ImageGalleryUrl = "ftb.imagegallery.aspx?rif={0}&cif={0}" ftb.imagegallery.aspx的目录, 只能用相对目录,不可以用"~" 4) ImageGallery 的设置 ftb.imagegallery.aspx文件里 AllowDirectoryCreate - 能否建立文件夹 AllowDirectoryDelete - 能否删除文件夹 AllowImageUpload - 能否上传图片 AllowImageDelete - 能否删除图片 AcceptedFileTypes - 可以上传文件扩展名的数组(array) <FTB:ImageGallery id="ImageGallery1" JavaScriptLocation="InternalResource" UtilityImagesLocation="InternalResource" SupportFolder="~/aspnet_client/FreeTextBox/" AllowImageDelete=true AllowImageUpload=true AllowDirectoryCreate=false AllowDirectoryDelete=false runat="Server" /> 为开发者提供的2个属性 CurrentDirectories - a string[] array of directories to allow the user to navigate toward CurrentImages - a FileInfo[] array of files the user should be able to insert. 建议: 删掉Page_Load事件可以显著回避上传图片不能即时显示的问题. 不要重写Page_Load That's all. Thanks 引用:http://blog.hexun.com/annerose/1779631/viewarticle.html

2010-04-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除