NeatUpload Documentation

MultiFile Class

Multiple file upload control that can be used with the UploadHttpModule and ProgressBar.

For a list of all members of this type, see MultiFile Members.

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         Brettle.Web.NeatUpload.FileControl
            Brettle.Web.NeatUpload.MultiFile

public class MultiFile : FileControl, IPostBackDataHandler

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

On post back, you can use Files to access the array of UploadedFiles. For each UploadedFile in the collection, use FileName, InputStream to access the file's name, MIME type, length, and contents. If you want to save the file for use after the current request, use the MoveTo method. This control will function even if the UploadHttpModule is not being used. In that case, its methods/properties act on the file in the standard ASP.NET Files collection.

Requirements

Namespace: Brettle.Web.NeatUpload

Assembly: Brettle.Web.NeatUpload (in Brettle.Web.NeatUpload.dll)

See Also

MultiFile Members | Brettle.Web.NeatUpload Namespace