I am using RadImageEditor & RadGrid with some data with coordinates, When i select a record in the grid i want to draw a rectangle on the image to show the record position on the image and when user selects another record then we should move the rectangle to different position on the image.
1 Answer, 1 is accepted
0
Vessy
Telerik team
answered on 03 Sep 2014, 03:32 PM
Hi Samantha,
I have just answered your support ticket on the subject, for convenience I will paste my answer here as well:
I am afraid that currently the desired functionality cannot be achieved out-of-the-box with he ImageEditor control. You can fire the DrawRectangle command on load of the control (imageEditor.executeCommand("DrawRectangle")), but the programmatic creation of a rectangle with specific coordinates will require a custom implementation.
If you decide to go through this road, you can extend the DrawRectangle.ascx dialog with the needed custom logic. More information on how to customize the built-in dialogs of the control is available in the following live demo: Customize Built-in Dialogs
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.