Default size of asp.net controls

This is a discussion on Default size of asp.net controls within the DOTNET forums in Framework and Interface Programming category; Is there a way I can find out the default sizes of the following asp.net controls when the height/width properties are not set: TextBox, LinkButton, Label, checkBox, dropDownList?...

Go Back   Application Development Forum > Framework and Interface Programming > DOTNET

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-08-2008, 07:58 AM
Andy B
Guest
 
Default Default size of asp.net controls

Is there a way I can find out the default sizes of the following asp.net
controls when the height/width properties are not set: TextBox, LinkButton,
Label, checkBox, dropDownList?


Reply With Quote
  #2  
Old 09-08-2008, 08:49 AM
Patrice
Guest
 
Default Re: Default size of asp.net controls

First keep in mind that a server control just renders HTML code i.e. the
size if whatever the browser uses to render those elements... Then for most
ot these elements this is as wide as possible to display the content, the
exception being the textbox (content can scroll by default).

Your best bet would be to try on targeted browsers but I'm not sure whay you
need those values (IMO you shouldn"t depend on them).

--
Patrice

"Andy B" <a_borka@sbcglobal.net> a écrit dans le message de groupe de
discussion : #TgxsoaEJHA.4936@TK2MSFTNGP03.phx.gbl...
> Is there a way I can find out the default sizes of the following asp.net
> controls when the height/width properties are not set: TextBox,
> LinkButton, Label, checkBox, dropDownList?
>


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:39 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.