 | |  | |  | |  | |  | |  |  | |  | | Client side interface - 3 |
|
|  | |
| |
Registration
In order to register UploadProgressHandler 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
<httpHandlers>
element. Add it if it does not exist.
-
In the
<httpHandlers>
element add the following tag:
<add verb="*" path="OboutInc.UploadProgressHandler.aspx"
type="OboutInc.FileUpload.UploadProgressHandler, obout_FileUpload, Version=1.7.921.1,
Culture=neutral, PublicKeyToken=c8b4009f4d53d5e5" />
The final result should look like this
<configuration>
...
<system.web>
...
<httpHandlers>
<add verb="*" path="OboutInc.UploadProgressHandler.aspx"
type="OboutInc.FileUpload.UploadProgressHandler, obout_FileUpload, Version=1.7.921.1,
Culture=neutral, PublicKeyToken=c8b4009f4d53d5e5" />
...
</httpHandlers>
</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 will display error alert if it is unable to find UploadProgressHandler.
Files uploading will be completed anyway.
If your application uses Forms authentication
put the following text into your application web.config:
<location path="OboutInc.UploadProgressHandler.aspx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
You can find more information about the
<location>
section in this MSDN article.
| | |
| "Thank you very very much, I have to say your support is the best." |
Guido Helmers |
|
| | |
|
|
|
|