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

Binary image coordinates?

1 Answer 60 Views
BinaryImage
This is a migrated thread and some comments may be shown as answers.
ravinder
Top achievements
Rank 1
ravinder asked on 19 Apr 2011, 05:24 AM
Hi ,

   here i am developing one web application ,in that i am showing the binary image in the viewer.If i drag and drop on the image i need to get the coordinates os the selected zone values and i need to show the selected zone with some color like red,blue,green etc...here the events are fired but i can't see the selected zone on the viewer and coordinates.pls kindly help any one ..........

thanks in adv,
ravi.

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 21 Apr 2011, 02:55 PM
Hi ravi,

You probably already know that the the RadBinaryImage is rendered in the output HTML like a normal image.
For example:
<img style="height: 80px; width: 80px;" alt="Photo of Senecio.png" src="../../../../Telerik.Web.UI.WebResource.axd?imgid=d9a8e889c30544e68c535df274ee7406&type=rbi" title="Photo of Senecio.png" id="RadGrid1_ctl00_ctl04_RadBinaryImage1">
So you can use any custom code for manipulating the image. See this jQuery plugin that does what you need: http://odyniec.net/projects/imgareaselect/
You can also search the web for other free solutions.

Best wishes,
Vasil
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
BinaryImage
Asked by
ravinder
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or