Error when Upload from Other Website

5 posts, 1 answers
  1. Leo
    Leo avatar
    15 posts
    Member since:
    Apr 2011

    Posted 20 Nov 2017 Link to this post

    I am facing problem and not found the solution yet.

    I got this error message when set image manager upload, delete and viewpaths to complete URL "http:/www.mywebsite.com/Folder"

    The error message said : " http:/www.mywebsite.com/Folder' is not a valid virtual path in Image manager. "

    Is it possible using Image manager to upload file from that URL or just in inside application ?

    If Possible, can someone give me sample ?

     

    Thanks,

  2. Rumen
    Admin
    Rumen avatar
    13399 posts

    Posted 20 Nov 2017 Link to this post

    Hello Leo,

    RadEditor uses RadFileExplorer to provide file browsing functionality for its dialogs. By design, RadFileExplorer expects a virtual path to be provided to its ViewPaths / DeletePaths / UploadPaths and does not support absolute URL paths.

    You can see how to implement RadEditor/RadFileExplorer to work with a custom content provider which will allow it to work with shared and phisycal paths at https://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/details/use-radfileexplorer-with-physical-and-shared-folder-s-paths

    Regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Leo
    Leo avatar
    15 posts
    Member since:
    Apr 2011

    Posted 22 Nov 2017 Link to this post

    Actually what i am looking is embed image from external URL such as : https://imageshack.com/i/pmPalL13j and image render in Radeditor. But i dont find such way to do that. I can do it using other tools such as FCK editor or TinyMCE.

    Can you give me just simple sample to do it in Radeditor ?

     

    Thanks

  4. Answer
    Rumen
    Admin
    Rumen avatar
    13399 posts

    Posted 23 Nov 2017 Link to this post

    Hello,

    You can use the InsertImage dialog (<telerik:EditorTool Name="InsertImage" Text="Insert Image Dialog"></telerik:EditorTool>) to insert an image from another site/domain. Here is a video: https://www.screencast.com/t/NPZtLtNpN.

    You can see how to enable it in the following demo: http://demos.telerik.com/aspnet-ajax/editor/examples/built-in-dialogs/defaultcs.aspx.

    Regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Leo
    Leo avatar
    15 posts
    Member since:
    Apr 2011

    Posted 23 Nov 2017 Link to this post

    Thank you. This is exactly what i am looking for.
Back to Top