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

rad button

1 Answer 45 Views
Button
This is a migrated thread and some comments may be shown as answers.
Jubin
Top achievements
Rank 1
Jubin asked on 28 Aug 2013, 02:12 PM
how to get co-ordinate position of image in rad button ?? pls reply....
In image button we use int x = e.x  and int y = e.y method...

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 02 Sep 2013, 10:50 AM
Hello Jubin,

Currently I can make only assumptions on what is the setup of the RadButton control in your project.

Could you get back to me with more information about:
  • Are you using the button with a background image or an icon?
  • Is the image set with the IsBackgroundImage="true" property?
  • If you are using Icon for the button please follow this online demo, in which is mentioned the different properties for positioning the icon image. If this is the case and you are still troubled with the positioning get back to me for additional help.
  • Could you verify that you are trying to get the Image position or the Cursor's position on click?

Additionally you could follow this online demo, which is demonstrating handling of images in the buttons.

I am looking forward for your reply.

Regards,
Ianko
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Button
Asked by
Jubin
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or