asp.net.ph

HtmlInputText.Size Property

System.Web.UI.HtmlControls Namespace   HtmlInputText Class


Sets or retrieves the width of the text box.

Syntax


Inline <input type= [ text | password ] size = intSize ... >
Script HtmlInputText.Size [ = intSize ]

Property Value


intSize Integer specifying the width, in characters, of the text box.

The property is read/write with a default value of 20.

Remarks

Use the Size property to specify or determine the width of the textbox, in characters.

Example

The below snippet shows how to declaratively set the Size property of an HtmlInputText control at design time.

<input type=text id="myTextBox" size=30 runat="server">
See Also

HtmlInputText Members   MaxLength Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph