Installation Guide

download

The following guide shows the steps to implement the Ajax Uploader Control into ASP.NET applications. For deployment in asp.net 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.

IIS Classic mode

<configuration>
  <system.web>
    <httpModules>
      <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
     </httpModules>
  </system.web>
</configuration>

IIS 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" />