This is a migrated thread and some comments may be shown as answers.

Uploading multiple images in canvas mode

1 Answer 84 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Zachary
Top achievements
Rank 1
Zachary asked on 11 Apr 2016, 03:16 PM

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. 

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 14 Apr 2016, 09:06 AM
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:
http://demos.telerik.com/aspnet-ajax/imageeditor/examples/customdialoginsertimage/defaultcs.aspx


Regards,
Vessy
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
ImageEditor
Asked by
Zachary
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or