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

RadEditor Not loading image

4 Answers 106 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Omlac
Top achievements
Rank 1
Omlac asked on 28 Aug 2008, 12:36 PM
Good day,
Im trying to load an image on a radEditor control,i specified C:\Projects as the uploadpath under imagemanager. but i get the following error:
 

Server Error in '/Web Cleint' Application.

'C:\Projects' is not a valid virtual path.

may you please help

4 Answers, 1 is accepted

Sort by
0
GDPR_erased
Top achievements
Rank 1
answered on 28 Aug 2008, 01:11 PM
I'm no expert, but the way I do it is by setting the paths for the ASP.NET AJAX control like this:
<telerik:RadEditor ID="RadEditor1" Runat="server" Height="460px" Width="100%"   
  OnClientLoad="ChangeBackground" Skin="Telerik" ToolsFile="~/RadControls/Editor/CustomBasicTools.xml">  
     <ImageManager MaxUploadFileSize="1048576" ViewPaths="~/Pictures"  UploadPaths="~/Pictures" DeletePaths="~/Pictures" /> 
           <Content> 
           </Content> 
</telerik:RadEditor> 
The folder for the images (Pictures) is a SUBDIRECTORY under my website application directory, not on the root of C:\
Also, I gave the ASP.NET user account on the local machine full rights to upload, etc. access to the folder.

The "Older" ASP.NET Rad controls you do like this:
<radE:RadEditor ID="RadEditor1" runat="server" EnableEnhancedEdit="True" Height="460px" 
    ShowSubmitCancelButtons="False" ToolsFile="~/RadControls/Editor/CustomBasicTools.xml" 
    ImagesPaths="~/Pictures" UploadImagesPaths="~/Pictures" DeleteImagesPaths="~/Pictures" 
    MaxImageSize="200000" Width="100%"   
</radE:RadEditor> 

Hope this helps,
~bg
0
Omlac
Top achievements
Rank 1
answered on 28 Aug 2008, 02:03 PM
Thank you for your response.
Would you know of a link that can lead me to a page that describes all the properties in detail.
I use  image manager is that right. im sorry for being a bother, i just cant find enough material to read on how to do this.
0
Accepted
Rumen
Telerik team
answered on 28 Aug 2008, 02:15 PM
Hi Omlac,

Please, review the following articles on the subject:
Sincerely,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Omlac
Top achievements
Rank 1
answered on 28 Aug 2008, 02:19 PM
Hie RSBCTrumpet
Thank you very much it worked, Please if you have that link may you please send it to me.
or on this email add kmakuwaza@yahoo.com.

Thank you very much.
Tags
Editor
Asked by
Omlac
Top achievements
Rank 1
Answers by
GDPR_erased
Top achievements
Rank 1
Omlac
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or