Drawing the rectangle on Image load

2 posts, 0 answers
  1. Samantha
    Samantha avatar
    1 posts
    Member since:
    Feb 2014

    Posted 02 Sep 2014 Link to this post

    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.
  2. Vessy
    Vessy avatar
    1354 posts

    Posted 03 Sep 2014 Link to this post

    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


    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. DevCraft R3 2016 release webinar banner
Back to Top