Installation

The following guide shows the steps to implement Uploader into ASP.NET applications. For deployment in MVC applications, please check here.

1.

Install the assembly

Copy the assembly and license file (CuteWebUI.AjaxUploader.dll, AjaxUploader.lic) to your application bin folder.

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.

<configuration>
  <system.webServer>
    <Modules>
<addname="CuteWebUI.UploadModule"type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
    </Modules>
</system.webServer>
</configuration>
<configuration>
  <system.web>
    <httpModules>
<addname="CuteWebUI.UploadModule"type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
    </httpModules>
</system.web>
</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" />