If you need to register your control manually, follow the steps below.
HTML |
Copy Code
|
---|---|
<httpHandlers> <add path="C1UploadProgress.axd" verb="*" type="C1.Web.Wijmo.Controls.C1Upload.UploadProgressHandler,C1.Web.Wijmo.Controls.4" /> </httpHandlers> <httpModules> <add name="C1UploadModule" type="C1.Web.Wijmo.Controls.C1Upload.UploadModule,C1.Web.Wijmo.Controls.4" /> </httpModules> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </assemblies> </compilation> |
Add the following additional markup in the <system.webServer> node:
HTML |
Copy Code
|
---|---|
<system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules> <add name="C1UploadModule" type="C1.Web.Wijmo.Controls.C1Upload.UploadModule,C1.Web.Wijmo.Controls.4" /> </modules> <handlers> <add name="C1UploadProgress" path="C1UploadProgress.axd" verb="*" type="C1.Web.Wijmo.Controls.C1Upload.UploadProgressHandler,C1.Web.Wijmo.Controls.4" /> </handlers> </system.webServer> |
This markup is required as the project is hosted on a server.
Step 1 of 4 Completed
In this step, you created an ASP.NET Web site. You also added the configuration items for C1Upload to the web.config file and set the number of files that can be uploaded at one time. In the next step, you will use the totalComplete client-side event to show an alert dialog box when all files have been uploaded.