Uploading multiple images in canvas mode

2 posts, 0 answers
  1. Zachary
    Zachary avatar
    4 posts
    Member since:
    Jun 2015

    Posted 11 Apr 2016 Link to this post

    Here's what I want to do. I want to upload one large image, a map for example, and then upload a smaller one on top, like an arrow to point to something.

    I'm uploading the first image with the asyncuploader control and it's being put into the image editor correctly, but when I go to upload the smaller one it replaces the original image instead of being layered on top.  I am using png's for transparency. 

    I think this happens because of this line in the asyncupload fileuploaded event

    RadImageEditor1.ResetChanges( );


    I tried removing the line and it breaks the ability to upload an image into the editor.


    Any help towards getting my desired functionality would be greatly appreciated. 

  2. Vessy
    Vessy avatar
    2339 posts

    Posted 14 Apr 2016 Link to this post

    Hi Zachary,

    This behavior is expected as the ImageEditor can show only one uploaded image at the same time (as the control does not support layers). A possible way to insert a second image over the initially uploaded one is to do it through the InserImage dialog of the control:

    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top