Re: How can I determine the page layout (width and height)
From: Steve C. Orr [MVP, MCSD] (Steve_at_Orr.net)
Date: 10/12/04
- Next message: John: "Hosting for aspnet 2.0"
- Previous message: Scott M.: "Re: problem with using trace"
- In reply to: Leo: "How can I determine the page layout (width and height)"
- Next in thread: Leo: "Re: How can I determine the page layout (width and height)"
- Reply: Leo: "Re: How can I determine the page layout (width and height)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 11 Oct 2004 18:09:37 -0700
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" <pkujchliu@yahoo.com> wrote in message news:81553b16.0410111627.61fafcc3@posting.google.com... >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.
- Next message: John: "Hosting for aspnet 2.0"
- Previous message: Scott M.: "Re: problem with using trace"
- In reply to: Leo: "How can I determine the page layout (width and height)"
- Next in thread: Leo: "Re: How can I determine the page layout (width and height)"
- Reply: Leo: "Re: How can I determine the page layout (width and height)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|