asp.net.ph

HtmlInputFile.Size Property

System.Web.UI.HtmlControls Namespace   HtmlInputFile Class


Sets or retrieves the width of the file upload text box.

Syntax


Inline <input type=file size = intSize ... >
Script HtmlInputFile.Size [ = intSize ]

Property Value


intSize Integer specifying the width of the text box.

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

Remarks

Use this property to specify the width of the text box in which to enter the file path.

Example

The below code shows how to declaratively set the Size property to specify the width of the file upload text box.

<input type="file" id="myFileUploader" size="30" runat="server"/>
See Also

HtmlInputFile Members 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