Friday, February 22, 2008 12:53 PM jstengel

Uploading Files: Multiple Files, Progress Bar, No Postback

UPDATE: This is now available as a free ASP.NET control. 

Recently, Joe Stagner created some videos and talked about 4 upload scenarios that provide an AJAX-like file upload experience.  I've used or looked at all of those options at least once or twice in the past, but they were never quite what I wanted.  I wanted something sleek and sexy.  Something that really popped. The file upload tool that is my new best friend is SWFUpload.

SWFUpload is a JavaScript/Flash library that degrades to a plain old upload control if there are compatibility problem. It's truly a thing of beauty.  The SWFUpload online demos really don't do it justice as far as demonstrating how pretty you can make it look with a little CSS.  Not that I'm the world's greatest designer, but here's an action screen shot of how I integrated it into an ASP.NET application. The picture is a screen capture of SWFUpload in the process of uploading 4 files. The control is inside of an AJAX.NET ModalPopup inside of an UpdatePanel. You can also see it in action as part of a short demo I did for this project.  It's not the greatest video, but you can see the uploading files and photos example about halfway though the video.

Filed under: , , , , ,

Comments

# Uploading Files: Multiple Files, Progress Bar, No Postback

Friday, February 22, 2008 1:28 PM by DotNetKicks.com

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# re: Uploading Files: Multiple Files, Progress Bar, No Postback

Friday, February 22, 2008 5:19 PM by Kirill Chilingarashvili

Nice post !

I found this component very interesting.. But I cound not find a word about it's license.

Are you aware of any limitations of using it in commercial software ?

Thanks

# re: Uploading Files: Multiple Files, Progress Bar, No Postback

Friday, February 22, 2008 5:25 PM by jstengel

It is tought to find...from the source:

SWFUpload is (c) 2006 Lars Huring and Mammon Media and is released under the MIT License:

www.opensource.org/.../mit-license.php

# re: Uploading Files: Multiple Files, Progress Bar, No Postback

Saturday, February 23, 2008 11:15 AM by amrelgarhy

Kirill Chilingarashvili

SWF Upload is completely free, you can use its files, edit or do anything with.

# re: Uploading Files: Multiple Files, Progress Bar, No Postback

Saturday, February 23, 2008 5:21 PM by Remy

It is a pretty cool component, but after using it for 6 month in a public internet application, we had maybe 10% users with troubles. And those are not the ones without Flash installed. SWFUpload degrades nicely without Flash, but there seems to be a decent amount of issues with Flash.

demo.swfupload.org/Documentation

I've written my own post about File Upload Components:

remy.supertext.ch/.../file-upload-with-aspnet

# Caminews » Uploading Files: Multiple Files, Progress Bar, No Postback

Pingback from  Caminews » Uploading Files: Multiple Files, Progress Bar, No Postback

# Caminews » Uploading Files: Multiple Files, Progress Bar, No Postback

Pingback from  Caminews » Uploading Files: Multiple Files, Progress Bar, No Postback

# re: Uploading Files: Multiple Files, Progress Bar, No Postback

Friday, March 28, 2008 12:07 PM by Fredrik

Great post, couldn't wait to try SWFUpload.

Unfortunately I'm having problems using it in an updatepanel. How did you make it work?

# re: Uploading Files: Multiple Files, Progress Bar, No Postback

Tuesday, April 01, 2008 1:04 PM by jstengel

I'm going to try to put together a sample project with some basic demonstrations.  Hopefully, that will help.

# Flash File Upload Server Control

Friday, April 25, 2008 6:36 PM by Joshua Stengel

Recently, I blogged about my favorite file upload technique for web applications --the free flash/JavaScript

# re: Uploading Files: Multiple Files, Progress Bar, No Postback

Wednesday, April 30, 2008 11:18 AM by jstengel

A server control with source, documentation and sample project has been posted here:

weblogs.asp.net/.../flash-file-upload-server-control.aspx

Leave a Comment

(required) 
(required) 
(optional)
(required)