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

Custom ITool within ImageEditor

1 Answer 34 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Traci
Top achievements
Rank 1
Traci asked on 16 Dec 2014, 10:26 PM
So I created a custom Itool that is implemented within the ImageEditor. When you attach a tool any other tool that was attached becomes Detached. I need to have the ability to  have multiple tools attached to the Image Editor at the same time.. so the user could see multiple Rectangles around areas of the image ,as my tool is similar to the crop tool but does not crop my image, at the same time. They would be distinguished by there color and if they have the ability to change the size via the mouse. so if 2 were up andthe user moused down within 1 of them that tool would be come the active tool and the user could modify it.

So when I try to attach another instance of my tool the first one becomes detached. there must be a way to override this behavior?

Any help is greatly appreciated.

-Traci

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 17 Dec 2014, 09:34 AM
Hello Traci,

The RadImageEditor is not designed to enable the usage of multiple tools at the same time. This is why there isn't an out-of-the-box way to achieve that. 

However, you can change your custom tool in a way to display multiple rectangles as you desire, and implement the behavior you want to achieve further. 

Regards,
Todor
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.

 
Tags
ImageEditor
Asked by
Traci
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or