This is a migrated thread and some comments may be shown as answers.

Images not displayed if they're located inside App_Data folder

1 Answer 202 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Chanh
Top achievements
Rank 1
Chanh asked on 09 Apr 2009, 02:51 PM
I'm using RadEditor for document editing. The problem I'm having is that if I set ViewPaths, UploadPaths, DelePaths to "App_Data" folder, images won't display. App_Data folder is given permissions to read/write/execute. This problem also occurs when we upload images to webserver, the preview features won't display images neither!  Any idea? Thanks!

RadEditor1.ImageManager.ViewPaths = set to "App_Data"

RadEditor1.ImageManager.UploadPaths = ...
RadEditor1.ImageManager.DeletePaths = ...

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 10 Apr 2009, 08:13 AM
Hello,

The App_Data is a special folder in ASP.NET web sites. The web server will not show files from that folder to the browser, since its contents are meant to be used only on the server. The same is true for the App_Code folder as well. You will need to move the images to a different location, where they can be served normally to the browser.

Best wishes,
Lini
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Chanh
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or