NeatUpload Documentation

UploadModule.BindProgressState Method 

Fills in an IUploadProgressState object with the progress state for a given post-back ID and control UniqueID.

public static void BindProgressState(
   string postBackID,
   string controlUniqueID,
   IUploadProgressState progressState
);

Parameters

postBackID
The post-back ID for which the progress state should be retrieved.
controlUniqueID
The UniqueID of the control for which the processing state should be retrieved, or null to not retrieve progress state without processing state.
progressState
A IUploadProgressState to be filled in with the progress state for the given post-back ID and control UniqueID.

Remarks

The progress state is cached for the length of the current request to ensure consistency across multiple calls during a single request and to reduce the number of calls made to the underlying IUploadModule implementation since some implementations might need to access the network to determine the progress state.

See Also

UploadModule Class | Brettle.Web.NeatUpload Namespace