NeatUpload Manual available here.
In this posting I use NeatUpload without installing to the Global Assembly Cache. I did this as I thought initially that by installing into the GAC would mean I didnot have to add a project reference but apparently that is not the case. So now I copy the dll into the asp.net project/website and reference from there.
Etract the current neatupload zip file to any location.
Copy the dll
NeatUpload-<version>\dotnet\app\bin\Brettle.Web.NeatUpload.dll
into your asp.net \<applicationRoot>\bin folder.
Now in VS go website\add reference. Browse to the dll and select.
Now copy the folder ….\NeatUpload-<version>\dotnet\app\NeatUpload into the root of your application. i.e. <applicationRoot>\NeatUpload
In the application root web.config the following needs to be added.
IN <configuration><configSections> add
<section name="neatUpload" type="Brettle.Web.NeatUpload.ConfigSectionHandler,Brettle.Web.NeatUpload"
allowLocation="true" />
IN <configuration> add
<neatUpload xmlns="http://www.brettle.com/neatupload/config/2008" useHttpModule="true" />
The above two entries are really a holder at this stage, please review the manual for further options, but netupload can be configured by modifing this tag <neatUpload >.
IN <system.web><httpModules> add
<add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule,Brettle.Web.NeatUpload" />
IN <system.webServer><modules> add
<add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule,Brettle.Web.NeatUpload" preCondition="managedHandler"/>
With the above changes I was then able to create an aspx page with the following tags, this would then compile and allow me to add multiple files.
<%@ Register TagPrefix="Upload" Namespace="Brettle.Web.NeatUpload" Assembly="Brettle.Web.NeatUpload" %>
<Upload:MultiFile id="multiFileId" runat="server" UseFlashIfAvailable="true"/>
No comments:
Post a Comment