Hi there,
I am using a RadEditor with an ImageManager. This worked fine when specifying paths relative to the application:
<ImageManager ViewPaths='/blogUpload/postimage/' DeletePaths='/blogUpload/postimage/'
UploadPaths='/blogUpload/postimage/' MaxUploadFileSize="6553600" />
But I'm unable to get it working again after I mo
ved the site to a load-balanced environment which has a shared location for file uploads "E:\SharedFiles"
The following syntax doesn't allow image uploads and gives 404 errors on other buttons within the ImageManager
string[] viewImages = new string[] { "/blogupload/postimage/" };
string[] uploadImages = new string[] { @"E:\SharedFiles\blogupload\postimage"};
string[] deleteImages = new string[] { @"E:\SharedFiles\blogupload\postimage"};
RadEditorContent.ImageManager.ViewPaths = viewImages;
RadEditorContent.ImageManager.UploadPaths = uploadImages;
RadEditorContent.ImageManager.DeletePaths = deleteImages;
RadEditorContent.ImageManager.MaxUploadFileSize = 6553600;
I've based the above approach from
this page
Is there something wrong with how I'm approaching this? The above code doesn't even work on my local machine with "C:\folder\folder\" for uploadImages and deleteImages