Hi,
I've been trying to programmatically change the upload path for the editor based on a project_ID field which I'm pulling from the querystring. For some reason, when I try to do this and try to use the Document Manager in the RadEditor, after an upload is completed, the document manager doesnt seem to refresh correctly and all I see is the folder path but no contents. I have to literally double click on the up arrow to go up one directory and then back into the original directory to see the refreshed file contents.
Below is my the vb.net code on the code behind for the page that holds the radEditor:
Dim
uploadDocuments As String() = New String() {"~\uploads\" & project_ID & "\docs"}
RadProjectDescription.DocumentManager.UploadPaths = uploadDocuments
RadProjectDescription.DocumentManager.ViewPaths = uploadDocuments
RadProjectDescription.DocumentManager.DeletePaths = uploadDocuments
uploadDocuments =
New String() {"~\uploads\" & project_ID & "\media"}
RadProjectDescription.MediaManager.UploadPaths = uploadDocuments
RadProjectDescription.MediaManager.ViewPaths = uploadDocuments
RadProjectDescription.MediaManager.DeletePaths = uploadDocuments
It seems to refresh fine when I use a static path for the uploads. It must be something I'm doing wrong. Any help would be appreciated.