Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamicly sizing ServerSide controls? 1

Status
Not open for further replies.

NoCoolHandle

Programmer
Apr 10, 2003
2,321
US
Does anyone know how to dyanmicly size serverside controls based on the width of the browser window?

TIA

Rob
 
My suggestion for this would be not to look at explicitly defining control size, but setting all sizes of object as percentages so that they size themselves to the client's screen. This would save you a LOT of work.

P.S. - I don't think that it's possible for the server to size controls before it posts them to the client page as there is no way for the server to know the dimensions of the client's screen area.

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
Thanks, I didn't know I could assign a percentage!

A star for you!

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top