ASP.NET Interface Controls - Width property


Width="100%"
Click Me!


Width="50%"
Click Me!


Width="25%"
Click Me!


Width="200"
Click Me!


auto width
Click Me!


Width="100%"


Width="50%"


Width="25%"


Width="200"


auto width


Width="100%"


Width="50%"


Width="25%"


Width="200"


auto width



The Width property may be set either by using fixed values (pixels) or by using a relative value (percentages).
If the Width is not specified the controls will have the same width as their container.
ASP.NET
<obout:OboutButton runat="server" ID="btn1"  Width="250" ... />
<obout:OboutDropDownList runat="server" ID="ddl1" Width="250" ... />
<obout:OboutTextBox runat="server" ID="txt1" Width="250" ... />

"I am very very impressed, happy, satisfied and grateful. Again you have my sincere thanks!"

Cary Abramoff
The Bank of New York Mellon

Random testimonial   All testimonials

obout.com
obout.com Home
News
Interface Controls Home 
Interface Controls Home
Download
Site Map
Examples - 55
Appearance - 2
Live Styles
Different Styles New
Common Features - 3
Width
Enable / Disable
Reset Values New
Button - 6
Default Button
PostBackUrl
Client-Side Events
Server-Side Events
Server-Side Commands
Client-Side Manipulation
Checkbox - 6 New
AutoPostBack
Linked CheckBoxes with Tri-States
Client-Side Events
Server-Side Events
Client-Side Manipulation
Linked Fields New
Dropdown List - 8
Height
MenuWidth
Multiple Rows and Columns New
AutoPostBack
Linked Fields New
Client-Side Events
Server-Side Events
Client-Side Manipulation
Image Button - 7
Enable specific states
Default Button
PostBackUrl
Client-Side Events
Server-Side Events
Server-Side Commands
Client-Side Manipulation
Radio Button - 5 New
AutoPostBack
GroupName
Client-Side Events
Server-Side Events
Client-Side Manipulation
Textbox - 11
Auto Complete
AutoPostBack New
MaxLength
MaxLength with Counter New
MaxLength with Auto Focus New
TextMode
WatermarkText
Linked Fields New
Client-Side Events
Server-Side Events
Client-Side Manipulation
Integration - 7
Cascading Dropdown Lists
With ASP.NET Validators
Inside Grid
Textbox with DatePicker
Inside User Controls New
Using ASP.NET Themes/Skins New
Create User Wizard New
Knowledge Base - 1
Knowledge Base
Documentation - 22
Server-Side
OboutButton
OboutButtonCssSettings
OboutCheckBox
OboutCheckBoxClientSideEvents
OboutCheckBoxCssSettings
OboutDropDownList
OboutDropDownListClientSideEvents
OboutDropDownListCssSettings
OboutImageButton
OboutRadioButton
OboutRadioButtonClientSideEvents
OboutRadioButtonCssSettings
OboutTextBox
OboutTextBoxClientSideEvents
OboutTextBoxCssSettings
Client-Side
OboutButton
OboutCheckBox
OboutDropDownList
OboutImageButton
OboutRadioButton
OboutTextBox
ChangeLog
Tutorials - 2
Configuration
Using the correct path
Appearance
Changing the font-size / height