Insert Image unable to save in your demo and after implementaion also

4 posts, 1 answers
  1. Adeel
    Adeel avatar
    18 posts
    Member since:
    Sep 2014

    Posted 29 Sep 2014 Link to this post

    When i click on insert image tool on RadImageEditor it asks for a url and when i give an image url in it and SET, image is placed on the RadImageEditor Canvas but i am unable to save that from RadImageEditor after insertion of image from url.
    Even i have tried it from your demo but i am unable to save after insert image. is it a BUG?
    http://demos.telerik.com/aspnet-ajax/imageeditor/examples/toolbarmodes/defaultcs.aspx  and   http://demos.telerik.com/aspnet-ajax/imageeditor/examples/canvassupport/defaultcs.aspx are the demos i have used and https://yt3.ggpht.com/--5R1fXG2ZC0/AAAAAAAAAAI/AAAAAAAAAAA/dxGi8Yriddc/s100-c-k-no/photo.jpg   is the image i have used.
  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 29 Sep 2014 Link to this post

    Hi Adeel,

    By design the ImageUrl property of RadImageEditor can work only with virtual paths to images. Passing a image url to the property sauses a JavaScript error and so the control does not function properly from now on. I hope this information will shed some light on the subject.

    Regards,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Adeel
    Adeel avatar
    18 posts
    Member since:
    Sep 2014

    Posted 29 Sep 2014 in reply to Vessy Link to this post

    Hello 

    How can i give a virtual path ?
    can u plz give me an example of Virtual path ?
  5. Answer
    Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 02 Oct 2014 Link to this post

    Hi Adeel,

    A virtual path is a path starting with "~", pointing to an image placed inside the application root. For example:
    <telerik:RadImageEditor ID="RadImageEditor1" runat="server" ImageUrl="~/Images/Jellyfish.jpg">
    </telerik:RadImageEditor>

    You can also review the ImageEditor's documentation and demos for more detailed information on how to configure the control properly.

    Regards,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top