How is the control determining if the value of WebHtmlEditor.UploadedFilesDirectory is a relative path or an absolute path?
The reasone I ask is that I am setting this value to a UNC path (ie. \\ImageServer\public\test\myApp\) and but the control is interpreting this as a relative path, prepending the application directory in the image tag.
In our enviroment I cannot allow users to upload files to the same server where the application files reside, so a relative path isn't going to work.
Thank you for the follow up. After some more research I was able to resolve my specific issue by editing the javascript for the webeditor control as suggested in this post. https://ko.infragistics.com/community/forums/f/ultimate-ui-for-asp-net/44797/how-to-take-the-path-to-the-image-inserted-with-insert-image-dialog
Hello,
This is just a follow up. When you use the editor control, are you specifying it in UploadedFilesDirectory? What about any of the features of the control such as Insert Image feature?
Let me know if you have any questions with this matter.
Sincerely,Duane HoytDeveloper Support Engineer, MCTSInfragisticshttps://ko.infragistics.com/support
It looks like the directory you are referring to is one found on your local network. This would need to be configured as a virtual directory in IIS in order to reference that directory from the website.
I would recommend you refer to microsoft's documentation to setup your virtual directory.
Please let us know if we can assist you with setting up your WebHtmlEditor once you have created the virtual directory.
The control should allow you to upload files to that unc path specified in UploadedFilesDirectory. Are you able to upload files to that directory within the control? Are you using the Image Insert feature?