I am trying to use the file locations configured in the 'Configruation/Security/Default.config' file.
The problem is that unless i programmatically configur both the ImageGalleryPath and the MaxImageSize then the cute editor window will display the message "The area you are attempting to access is forbidden." when i try to upload any files.
For reference here is the code that I am currently using that works:
editor.ID = "ABSTRACT"
editor.Text = ABSTRACT
editor.FilesPath = "CuteEditor_Files"
editor.ImageGalleryPath = "/Uploads"
editor.MaxImageSize = 250
editor.Draw()
And here is the code that I want to work that is not:
editor.ID = "ABSTRACT"
editor.Text = ABSTRACT
editor.FilesPath = "CuteEditor_Files"
editor.Draw()
Note also that I have confirmed that the default.config file is being used (if you specify the unwanted values) by modifying the maximum document size.
Note also that I am also forbidden from uploading documents(and all other file types) unless the ImageGalleryPath and MaxImageSize values are specified programmatically.