| ||||||||
Determining Coordinates In an ImageButtonControls You Can Use on Web Forms ASP.NET Standard Controls Button Controls You can use an ImageButton as an image map that is, you can capture the precise x and y coordinates where a user clicked within the image. This allows you to perform different tasks based on where the user clicked. Coordinate information is sent as part of the event argument object for the ImageButton control's Click event. To determine the coordinates where a user clicks
The x and y coordinates are expressed in pixels offset from the upper left corner of the image ( 0,0 ).
The following sample illustrates using the ImageButton control as an image map.
See AlsoCreating Graphical Button Controls ImageButton Web Control |
| |||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme