NeatUpload Documentation

UploadModule Members

UploadModule overview

Public Static Properties

AppPath The site-relative path of the application root, with no initial "/" so that it is suitable for use as a prefix for application-relative paths.
ConfigFieldNamePrefix The prefix for the names of config fields in requests.
FileFieldNamePrefix The prefix for the names of file fields in requests.
Files A collection of the UploadedFile objects associated with the the post-back ID of the current request.
IsEnabled Whether a module is installed and will handle requests to the same URL as the current request.
PostBackID The post-back ID associated with the current request, or null if there was none.
PostBackIDFieldName The name of the form field that can contain the post-back ID with which all subsequent files in the request should be associated.
PostBackIDQueryParam The name of the query parameter that can contain the post-back ID with which files in the request should be associated.

Public Static Methods

AppendToLog Adds a message to the IIS log file.
BindProgressState Fills in an IUploadProgressState object with the progress state for a given post-back ID and control UniqueID.
CancelPostBack Cancels the upload specified by the given post-back ID.
ConvertToUploadedFile Converts an HttpPostedFile to an UploadedFile that is associated with a particular control.
CreateUploadStorageConfig Creates and returns a new UploadStorageConfig (or subclass) for use with the current request.
GetCacheBustedPath Returns an URL that will ensure the browser retrieves the most recent version file at the specified path, by adding a '?guid=...' to the URL.
SetProcessingState Sets the processing state object associated with the current upload and given control UniqueID. The processing state object can be retrieved by passing an IUploadProgressState object to BindProgressState and then accessing ProcessingState.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

Protected Instance Constructors

UploadModule Constructor Initializes a new instance of the UploadModule class.

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

UploadModule Class | Brettle.Web.NeatUpload Namespace