I have the need to use several "UserFiles" directory in the same application.
I solved this with a
Session["ServerPath"] = "/thisdirectory"
in the Page_Load event of the page containing the control.
in the FileBrowserConnector.cs file I added this code:
// Try if Session has been saved
string s = (string) HttpContext.Current.Session["ServerPath"];
if (s != null)
sUserFilesPath = s;
in the UserFilesPath property code (line 289) after the following code:
// Try to get the User Files path from the Web.config file.
sUserFilesPath = System.Configuration.ConfigurationSettings.AppSettings["FCKeditor:UserFilesPath"] ;
This solve the case of one o more fck controls in a single page referring all to the same "ServerPath" but not the case of several control in the same page pointing to different "ServerPath".
HTH,
Pasq
Sat, 02/12/2005 - 17:04
#1