随笔 - 28  文章 - 0 评论 - 25 trackbacks - 0

01 2011 档案
cuteeditor 为每个用户定义一个上传目录
摘要: 最新版的cuteeditor可以从控件初始化时定义上传目录protected void Page_Load(object sender, EventArgs e){if (!IsPostback){  string LocalPath=Server.MapPath("../Uploads/"+ Session["userid"]); //判断文件夹是否存在的过程省略  this.Editor1.SetSecurityFilesGallerPath(LocalPath);  this.Editor1.SetSecurityFlashGallerPath(LocalPath);  ......}}阅读全文
posted @ 2011-01-08 11:54 莱福 阅读(26) | 评论 (0) 编辑