Web. config Configuration
<Httpmodules>Add
<Add name = "cutewebui. uploadmodule" type = "cutewebui. uploadmodule, cutewebui. ajaxuploader"/>
<Assemblies>Add
<Add Assembly = "cutewebui. ajaxuploader, version = 3.0.0.0, culture = neutral, publickeytoken = e28c4b74e4d86295"/>
<Controls>Add
<Add namespace = "cutewebui" assembly = "cutewebui. ajaxuploader, version = 3.0.0.0, culture = neutral, publickeytoken = Signature" tagprefix = "cutewebui"/>
SetAjaxuploader. LicIn the same directory of the DLL. OtherwiseLicense file not found.
Use
When using the page, add the DLL application.Code:
<Cutewebui: Uploader runat = "server" id = "uploader1">
<Validateoption maxsizekb = "1000"/>
</Cutewebui: Uploader>
You can set the global maximum size in <deleetting>.
<Add key = "cutewebui. ajaxuploader. globalmaxsizekb" value = "1000" type = "codeph" text = "/codeph"/>
Future code:
Foreach (cutewebui. attachmentitem attach in this. uploader1.items)
{
If (attach. Checked)
{
Stream stream = attach. openstream ();
Stream. Position = 0;
Byte [] buffer = new byte [stream. Length];
Stream. Read (buffer, 0, (INT) stream. Length );
Listitem. attachments. Add (attach. filename, buffer );
}
}
/Files/CECI/Ajax-Uploader.zip
/Files/CECI/CuteWebUIAjaxUploaderDll-Cracked.zip
Official Link