The following guide shows the steps to implement an Ajax Uploader Control into ASP.NET applications. If you haven't downloaded the software, please download it from here.
1. Install the assembly
Copy the assembly and license file to your application bin folder.
- CuteWebUI.AjaxUploader.dll
- AjaxUploader.lic
2. Add Uploader httpModule to web.config's httpModules list
To allow Ajax Uploader to handle upload requests, you need to add its HttpModule to your application.
IIS 5.0, 6.0 and IIS 7.0 Classic mode
![]() |
---|
<configuration> <system.web> <httpModules> <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/> </httpModules> </system.web> </configuration> |
IIS 7.0 Integrated mode
![]() |
---|
<configuration> <system.webServer> <modules> <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/> </modules> </system.webServer> </configuration> |
3. Using Uploader control in a Web Form
a. Register Uploader control in your page
<%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
b. Insert an Uploader instance into the page.
<CuteWebUI:Uploader id="Uploader1" runat="server" />
© 2003-2024 Richscripts.com. All rights reserved.