NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlInputFile Control

The HtmlInputFile control allows developers to program against the HTML <input type=file> element. With this control, Web developers can allow the upload of binary or text files from a browser to the server. File-upload is enabled in all HTML 3.2 and above web browsers.

Note   This control does not require an end tag.

ASP+ Syntax

Required properties are noted in boldface type.

<input
   type=file
   runat=server
   id="programmaticID"
   accept="MIMEencodings"
   maxlength="maxfilepathlength"
   size="widthoffilepathtextbox"
   postedfile="uploadedfile"
>

Tasks

Uploading a File to the Server

See Also

Web Forms Controls by Function |