Edit this page

Upload Images to the Server

RadEditor has built-in support for uploading/deleting/inserting images. The developer can allow end-users to upload, insert and delete images in the folder structure of the web-application by setting the following properties:


As of Q2 2015 the default upload control is RadAsycnUpload. In order for the uploading to work, you need to either permit the application to read/write in App_Data folfer, or change the target folder set to the TemporaryFolder property.

For example, to enable users to upload images in the "~/Images" folder and all of its subfolders, you need to set the ImageManager-ViewPaths, ImageManager-UploadPaths, and ImageManager-DeletePaths properties as follows:

There are two approaches to set the Image Manager's paths:

<telerik:RadEditor RenderMode="Lightweight" ID="RadEditor1" runat="server"
    ImageManager-DeletePaths="~/Images" >
<telerik:RadEditor RenderMode="Lightweight" ID="RadEditor1" runat="server">
        UploadPaths="~/Images" />
string[] imagepath = {"~/Images"};
RadEditor1.ImageManager.UploadPaths = imagepath;
RadEditor1.ImageManager.ViewPaths = imagepath;
RadEditor1.ImageManager.DeletePaths = imagepath;        
Dim imagepath() As String = {"~/Images"}
RadEditor1.ImageManager.UploadPaths = imagepath
RadEditor1.ImageManager.ViewPaths = imagepath
RadEditor1.ImageManager.DeletePaths = imagepath 

Note that the imagepath variable is an array of strings and that the Images folder must be:

  • a subdirectory of your web application or
  • a virtual directory of your web application that has a physical path pointing outside of your web application.
  • a shared drive that is a virtual folder of your web application.

You should also grant full ASP.NET (WinXP) / NETWORK SERVICE (Win 2003 and Vista) account permissions to the Images Folders.

See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article