%@ Page language="c#" Src="Demo.aspx.cs" AutoEventWireup="false" Inherits="Brettle.Web.NeatUpload.Demo" %>
<%@ Register TagPrefix="Upload" Namespace="Brettle.Web.NeatUpload" Assembly="Brettle.Web.NeatUpload" %>
This page demonstrates the basic functionality of NeatUpload.
Start by selecting the progress bar location and submit button type you'd like to see demostrated.
Progress bar location:
Submit button type:
Show NeatUpload Console (for debugging)
Now either select and upload files using the following MultiFile controls:
File(s) to upload:
Other file(s) to upload (just to demonstrate multiple MultiFileControls on the same page):
Or, select some files using the InputFile controls below and click Submit.
Pick file #1:
Pick file #2:
NeatUpload stores uploaded files in temporary storage on the server and
automatically deletes them when your request completes. A real
application would move or copy the files to their permanent location.
This demo just displays the files' name, size, and content type.
The inline progress bar will be displayed here:
By default, an inline progress bar is always displayed. The inline progress bar above has been
upload is in progress or an error has occurred.
The inline progress bar is an IFRAME. If your browser doesn't support IFRAMEs, you'll see a link to
display the progress bar in a new window. The text of that link is configurable.
Here's what is generated by a ProgressBar control configured to display a popup:
enabled, the popup is shown automatically when you submit the form, so there is no need to display anything
on to display the progress bar in a new window. The text of that link is configurable.
You can cancel your upload by either clicking your browser's Stop button or clicking the Cancel button that
is displayed to the right of the progress bar when the upload is in progress.