Registration
In order to register UploadProgressModule you need to:
-
Open the Solution Explorer pane, navigate to the application web.config file and open it.
-
Under the
<configuration>
element locate the
<system.web>
element. Add it if it does not exist.
-
Under the
<system.web>
element locate the
<httpModules>
element. Add it if it does not exist.
-
In the
<httpModules>
element add the following tag:
<add name="OboutUploadModule"
type="OboutInc.FileUpload.UploadProgressModule, obout_FileUpload, Version=1.7.921.1,
Culture=neutral, PublicKeyToken=c8b4009f4d53d5e5" />
The final result should look like this
<configuration>
...
<system.web>
...
<httpModules>
...
<add name="OboutUploadModule"
type="OboutInc.FileUpload.UploadProgressModule, obout_FileUpload, Version=1.7.921.1,
Culture=neutral, PublicKeyToken=c8b4009f4d53d5e5" />
</httpModules>
</system.web>
</configuration>
The configuration file sections and attributes are case sensitive.
This means that the above sections and attributes will be incorrect if they are written using a case other than shown.
More Information
Important Notes
FileUploadProgress control does not appears in the Page if it is unable to find UploadProgressModule.
Files uploading will be completed anyway.
UploadProgressModule does not work when files are uploading using AJAX calls.
This is a limitation of the XmlHttpRequest component, used in the AJAX frameworks for
asynchronous calls to the application. In order to upload a file you should perform a full page postback.
UploadProgressModule is incompatible with other similar modules which handle file uploads.
| |