More in this section

Forums / 3.x Pre-release forums (retired) / Images Hard Coding when using Editor

Images Hard Coding when using Editor

2 posts, 0 answered
  1. WebGeek
    WebGeek avatar
    186 posts
    20 Dec 2006
    22 Apr 2007
    Link to this post
    I am having a problem with my images hard coding to the server when uploading images/files within the editor.  All of my other images/files are working just fine, but if I upload a image/file using the editor it is mapping the image/file to the server (ie http://testserver/Site/Admin....
    rather than ~/)

    Please advise.
  2. Rebecca
    Rebecca avatar
    536 posts
    24 Sep 2012
    23 Apr 2007
    Link to this post

    Yes, you are right, James. The RadEditor can only work with absolute paths. This behavior is similar to MS Office Word embedded links. If you want to have dynamic links, we would recommend you use the HyperLink control for the time being.
    We would also suggest that you don't use virtual folders on the dev machine. Set your app as the Default Web Site in IIS. The paths must be identical on your dev machine and on the production server in order to use paths like http://localhost/Site/Admin.

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered