您的位置:首页 > 其它

cuteeditor 为每个用户定义一个上传目录

2011-01-08 11:54 197 查看
最新版的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);

  ......

}

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐