The exact positioning of controls isn't determined until runtime on the
client side by the browser. So your only hope is to use client side code.
Instead I suggest going with FlowLayout, and using tables and such to
organize your controls relative to eachother, and just let the browser
handle the final details of the layout.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Leo" <pk*******@yahoo.com> wrote in message
news:81**************************@posting.google.c om...
I would like to set my customized control's layout to be the layout of
the page in ASP.NET. Is there any way to get the width and height of
the page thus I can set my control's width and height to them? Thanks.