Click here to Skip to main content
15,898,746 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more: (untagged)
Hi,

I am making a web form in asp.net?/c#;

I want to know how to know the co ordinates; the x, y coordinates ( in pixels) of a control and also if possible what is the length and breadth( in pixels) of my form.

thanks
Posted

1 solution

The x,y coordinates of a control are up to you, you can place an element anywhere you'd like.

Browser window size[^]

And, honestly, you could have answered these questions yourself with very little research.

 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900