请问如何在本地上传图片,然后显示在FreeTextBox中??? 我用的这个FreeTextBox没有本地上传图片功能,请问如何实现一个上传图片到服务器的目录中,然后也要显示在FreeTextBox中,谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你网上下一个全点的freetexbox,有自带的上传图片的功能的!~没必要自己写 教程地址:http://www.cnblogs.com/cleo/archive/2007/01/16/freetextbox3_1_6.html按照以上网址说明,然后把ftb.imagegallery.aspx文件内容修改为:备注:亲爱的朋友们,如果你想使用"从图片库插入图片 "这个按钮?上面的代码需要去掉下面这个注释的代码: <%--JavaScriptLocation="ExternalFile" UtilityImagesLocation="ExternalFile" SupportFolder="~/aspnet_client/FreeTextBox/"--%> <FTB:ImageGallery id="ImageGallery1" AllowImageDelete="true" AllowImageUpload="true" AllowDirectoryCreate="true" AllowDirectoryDelete="true" runat="Server" />就这样就可以哦!] 我也是这个开发环境:.net3.5+ie7.0,经过测试没有问题了,可以使用! FreeTextBox没有本地上传图片功能不可能吧 给你个代码 加在 页面加载事件中//获取图片文件夹 string ImagePath = System.Configuration.ConfigurationManager.AppSettings["ImagePath"].ToString(); string imageSavePath = Server.MapPath("../uploadfile"); this.FreeTextBox1.ImageGalleryPath = imageSavePath; this.FreeTextBox1.ImageGalleryUrl = ImagePath + "/uploadfile"; 我这个FreeTextBox好像对不上你们那个版本啊,比较旧的 .NET中写RSS源XML中时间不能显示,在线急等! WAP问题。。 大家进来看看 多表单验证问题 FileUpload上传文件最大值设置 一个DataList控件和js,以及后台方法之间的调用问题 选中listbox中一条记录能不能触发一个事件??? 请教VS.NET开发工具的一个问题? 求助,关于asp导出数据到Excel文件! activereport在开发电脑上都可以正常直接打印,但客户端访问服务器就无法打印了,怎么半? 删除文件和目录的问题 网页中图片显示的问题? 水晶报表参数字段问题
http://www.cnblogs.com/cleo/archive/2007/01/16/freetextbox3_1_6.html
按照以上网址说明,
然后把ftb.imagegallery.aspx文件内容修改为:
备注:亲爱的朋友们,如果你想使用"从图片库插入图片 "这个按钮?上面的代码需要去掉下面这个注释的代码:
<%--JavaScriptLocation="ExternalFile"
UtilityImagesLocation="ExternalFile"
SupportFolder="~/aspnet_client/FreeTextBox/"--%>
<FTB:ImageGallery id="ImageGallery1"
AllowImageDelete="true" AllowImageUpload="true" AllowDirectoryCreate="true" AllowDirectoryDelete="true" runat="Server" />就这样就可以哦!]
我也是这个开发环境:.net3.5+ie7.0,经过测试没有问题了,可以使用!
不可能吧
给你个代码 加在 页面加载事件中
//获取图片文件夹
string ImagePath = System.Configuration.ConfigurationManager.AppSettings["ImagePath"].ToString();
string imageSavePath = Server.MapPath("../uploadfile");
this.FreeTextBox1.ImageGalleryPath = imageSavePath;
this.FreeTextBox1.ImageGalleryUrl = ImagePath + "/uploadfile";