@JJ: "Hi,
I am buidling some controls dynamically in the .cs file, context menu. I am 
wondering if there is any chance I could obtain the location of any controls 
and set the location of another control to that location. i.e. just setting 
and getting the location.
Concern:
1.When is the best time to get the location? After PageLoad? 
CreateChildControls?
2.I am using Javascript to obtain the location by control.style.top etc but 
it returns 0 value? Y is it so?
3.Do controls such as table cells within table row within table has 
position? If there is, is it relative or absolute location.
Thks
Cheers"
    @brubar_nospamplease_: "unless the controls have explicit  absolute style postions (ie grid mode), 
there is no time on the server code to do this.
in client script you can only get the position after render is done. in 
client script you don't use the style to get the postion because it what was 
set in html and is often empty. also the postion will be relative to its 
parent position. see:
    <url>
 bruce (sqlwork.com)
"JJ" <email_address> wrote in message 
news:<email_address>
<quote>"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "microsoft.public.dotnet.framework.aspnet.20140624.mbox"}', 'file': 'data/output/usenet-microsoft.public.parquet'}