Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- Overview
- Installation & Deployement
- EO.Web ToolTip
- EO.Web Rating
- EO.Web Slider & RangeSlider
- EO.Web ListBox
- EO.Web ComboBox
- EO.Web Captcha
- EO.Web ASPX To PDF
- EO.Web Slide
- EO.Web Flyout
- EO.Web EditableLabel
- EO.Web ImageZoom
- EO.Web Floater
- EO.Web Downloader
- EO.Web ColorPicker
- EO.Web HTML Editor
- EO.Web File Explorer
- EO.Web SpellChecker
- EO.Web Grid
- EO.Web MaskedEdit
- EO.Web Splitter
- EO.Web Menu
- EO.Web Slide Menu
- EO.Web TabStrip
- EO.Web TreeView
- EO.Web Calendar
- EO.Web Callback
- EO.Web MultiPage
- EO.Web Dialog
- EO.Web AJAXUploader
- EO.Web ProgressBar - Free!
- EO.Web ToolBar - Free!
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
Uploaded File List |
Accessing Uploaded Files on the Server Side
AJAXUploader maintains a list of uploaded files through its PostedFiles property. The list contains all files that are still in its TempFileLocation when the page was loaded. Files that have been moved to FinalFileLocation when the page was loaded are not included in this list. This list is considered "temporary file list" because it only contains files that existed in TempFileLocation.
AJAXUploader also provides an additional AJAXPostedFileList control to maintain the final file list. The final file list contains all files that have already been moved to FinalFileLocation. Follow these steps to use AJAXPostedFileList:
- Place an AJAXPostedFileList control on the form;
- Set the AJAXUploader's FinalFileList to the ID of the AJAXPostedFileList control;
- Set the AJAXUploader's FinalFileLocation property. This property must be set to use AJAXPostedFileList;
Now the AJAXPostedFileList control automatically maintains the list of all uploaded files. Note that AJAXPostedFileList control only maintains the data. It does not display it. The sample project includes a sample that demonstrates how to use a DataGrid control to display the list.
Accessing Uploaded Files on the Client Side
EO.Web AJAXUploader provides a client side AJAXUploader object through which you can query the status of the current upload task, including a list of uploaded files. It also supports two client side events: ClientSideOnProgress and ClientSideOnError. ClientSideOnError is called when an error occurred on the client side. ClientSideOnProgress is being repeatly called while uploading is in progress.