Quick Links
ASP.NET File Upload Progress - Custom time format
This example demonstrates
TimeFormat
property use. This property is used for formatting of elapsed and estimated times while control rendering on refresh. By default it has value
"%HOURS%:%MINUTES%:%SECONDS%s"
.
Here we don't want to show
hours
and set
"%MINUTES%m %SECONDS%s"
as time format.
Example code
<
%@ Register
TagPrefix
="fup"
Namespace
="OboutInc.FileUpload"
Assembly
="obout_FileUpload"
%
>
...
<
input
type
=file
name
="myFile1"><
br
/>
<
input
type
=file
name
="myFile2"><
br
/>
<
input
type
=file
name
="myFile3"><
br
/>
<
input
type
=submit
value
="submit"
name
="mySubmit"><
br
/>
<
fup:FileUploadProgress
OnClientProgressStopped
="function(){alert('Files uploaded to server');}"
ShowUploadedFiles
="true"
TimeFormat
="%MINUTES%m %SECONDS%s"
runat
="server"
/
>
Uploaded 
% (
) Total
Uploaded
files
file
from
Uploading file
Last uploaded file
:
Elapsed time:
Estimated time:
Speed:
(Session lost)
rejected
uploaded
"
These are great products! My clients love them.
"
Tony Maldonado
Seattle, WA
obout.com
obout.com Home
File Upload Progress Home
File Upload Progress Home
Download
Site Map
Examples
- 11
Default settings
Show uploaded files names
Client-side events handling
Another style
Localization
Custom time format
Preserve space
Allowed file extensions and sizes
StatusPanel
control use
Add/delete file inputs
Cancel data transmitting
Customize
- 2
Custom style file
Custom localization file
Configuration
- 4
obout_FileUpload DLL
Web Configuration
- 3
UploadProgressModule
UploadProgressHandler
Optional settings
Knowledge Base
- 1
Knowledge Base
Documentation
- 5
Server side properties
Client side interface
- 3
OnClientProgressRefreshed
OnClientFileCleared
OnClientFileRejected
Upload large files
ChangeLog
Products
AJAX Page
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
HTML Editor
Image Zoom
Listbox
Multilevel Listbox
Scheduler
Show
Spell Checker
Splitter
Tab Strip
TreeView
Tree_DB
Window
Menu
Context Menu
Easy Menu
Slide Menu
Text Menu
Combobox
Combobox
AJAX Autosuggest
Multilevel Combobox
State Selector
Interface Controls
Button
Checkbox
Dropdown List
Multiline Textbox
Radio Button
Textbox
ASP.NET MVC
Interface Controls
Download
Download page
Install FAQ
Tech Support
Our clients
Testimonials
Support
Support
Purchase
Purchase page
Contact Sales
License info
Sales FAQ
Customer login
Print Invoice
Installation
Company
Legal
Clients
Testimonials
Contact