SecurityError on ImageEditor

2 posts, 0 answers
  1. Myoungsu
    Myoungsu avatar
    7 posts
    Member since:
    Jul 2015

    Posted 18 Nov 2015 Link to this post

    I try to show image which is located FTP Server.

    So I set ImageEditor.ImageUrl = ftp://sckpcsd:Korea%4012@krpcsdapp01/LMK/Image/2015/11/10474/7L4Q.JPG


    Then when image loading, error window was happened, it says debug web page using internet explorer inside script Debugger.

    If I select Yes, debugger is open.

    If I select No, the image is sucessfully loading.


    I think that image is located other PC, so the error window is happend.

    How can I make the error message isn't happen before image loading without download image from ftp server to web server.

  2. Vessy
    Vessy avatar
    1350 posts

    Posted 19 Nov 2015 Link to this post

    Hi Myoungsu,

    The experienced error is caused due to the fact by design RadImageEditor can work only with virtual paths pointing to images placed inside its application root directory and using images from external URL (like the given ftp one) is not supported. The only other built in option of the control I can suggest you is to load the image as an file stream and follow the loading approach used here:

    Optionally, you can make the control support such URLs, by implementing your own Image Content Provider that achieves your needs and fits the application's requirements. 

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top