Hello all,
I use FCK with asp.net. In my project, I want to upload image to different directories. I knew the way to do that is use Session["UsersFilePath"] . But I found the error when user open two page contain FCKeditor to upload image, image is stored on the same folder. That is bad.
How can I fix it?
Thanks alot for support,
QuyenPN
I use FCK with asp.net. In my project, I want to upload image to different directories. I knew the way to do that is use Session["UsersFilePath"] . But I found the error when user open two page contain FCKeditor to upload image, image is stored on the same folder. That is bad.
How can I fix it?
Thanks alot for support,
QuyenPN

Re: FCKEditor in ASP.net
But note that the connector path is passed as a querystring parameter itself, so you must properly encode it. You would endup with something like this:
Note that "?section=1" has been encoded to "%3Fsection%3D1".
Then, you may use the "section" querystring value in the configuration file for any customization need.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: FCKEditor in ASP.net
public override void SetConfig() { //for test string s = Request.QueryString["section"] + Environment.NewLine; System.IO.File.AppendAllText(Request.PhysicalApplicationPath + "t.txt", DateTime.Now.ToString() + " " + s); UserFilesPath = Request.ApplicationPath + "/upload" + Request.QueryString["section"]; UserFilesAbsolutePath = Request.PhysicalApplicationPath + "upload" + Request.QueryString["section"]; }uplad
Re: FCKEditor in ASP.net
if (!IsPostBack) { string webAppRootURL = ConfigurationManager.AppSettings["WebAppRootURL"]; string section = "1"; this.FCKeditor1.Config["ImageUploadURL"] = webAppRootURL + "fckeditor/editor/filemanager/connectors/aspx/upload.aspx?Section=" + section + "&Type=Image"; this.FCKeditor1.Config["ImageBrowserURL"] = webAppRootURL + "fckeditor/editor/filemanager/browser/default/browser.html?Connector=" + webAppRootURL + "fckeditor/editor/filemanager/connectors/aspx/connector.aspx?Section=" + section + "&Type=Image"; }Re: FCKEditor in ASP.net
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: FCKEditor in ASP.net
i want use fckeditor with asp.net too
in my machine works fine, but when i test in server machine, i gave a message error
The Server didn't send back a proper XML response
Can you help me ?
thanks
Esdras
Re: FCKEditor in ASP.net
Re: FCKEditor in ASP.net