NeatUpload Documentation

IUploadModule Interface

An IHttpModule that allows upload requests to be monitored and provides access to the uploaded files. When installed in the <httpModules> section, it can be used with the NeatUpload controls or other controls that use the static methods of UploadModule.

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

Brettle.Web.NeatUpload.IUploadModule
   Brettle.Web.NeatUpload.IMultiRequestUploadModule

public interface IUploadModule

Types that implement IUploadModule

Type Description
UploadHttpModule An IUploadModule and IMultiRequestUploadModule that uses child requests to extract uploaded files and maintain upload state across a web garden/farm.

Remarks

When IsEnabled returns true, the module will handle POST requests to the current request's URL that have a Content-Type header of "multipart/form-data" and contain a post-back ID in one of the following locations:

For requests that specify a post-back ID, the module can also use "protected" configuration information associated with a particular file if the file field is preceded in the request by a field with a name consisting of the value ConfigFieldNamePrefix followed by the files key in Files collection (typically the uploading control's UniqueID).

In addition, BindProgressState provides information concerning the progress of the upload, CancelPostBack tells the module it should ignore the remainder of the upload, SetProcessingState associates an arbitrary object with an upload after it has been received but before the end of the request, and ConvertToUploadedFile to convert an HttpPostedFile into an UploadedFile

Requirements

Namespace: Brettle.Web.NeatUpload

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

See Also

IUploadModule Members | Brettle.Web.NeatUpload Namespace