My project is configured like this
http://localhost/mation/admin/edit.aspx
and the fck files are here
http://localhost/mation/admin/FCKeditor/editor ..etc
My edit.aspx contains the FCK user control called "FCKeditor1". To set the upload path to for example "http://localhost/mation/mySite/"
add this in edit.aspx (where your fckusercontrol is)
FCKeditor1.ImageBrowserURL="/mation/admin/FCKeditor/editor/filemanager/browser/default/browser.html?ServerPath=/mation/mySIte/&Type=Image&Connector=connectors/aspx/connector.aspx";
and
FCKeditor1.LinkBrowserURL="/mation/admin/FCKeditor/editor/filemanager/browser/default/browser.html?ServerPath=/mation/mySIte/&Type=Image&Connector=connectors/aspx/connector.aspx";
******
also you can set the upload path dynamically mabye calling from a database etc
FCKeditor1.ImageBrowserURL="/mation/admin/FCKeditor/editor/filemanager/browser/default/browser.html?ServerPath="+MYDYNAMICPATH+"&Type=Image&Connector=connectors/aspx/connector.aspx";
Fri, 07/15/2005 - 06:22
#1
Re: how to set the upload path in asp.net
Re: how to set the upload path in asp.net
i noticed there a lot of people who wish to know how this is done, i have created a project to get us started
http://www.codeplex.com/fckeditfilemanager
please have a look and provide some input