Solved

Multiple file uploads like Sharepoint in ASP.NET C#

Posted on 2008-06-12
3
1,285 Views
Last Modified: 2013-12-17
I'm trying to figure out how to upload files like sharepoint does for our website.  I've looked at several posts regarding uploading multiple files in EE, but haven't found a satisfactory solution.

I understand that multiple files cannot be selected from the open dialog window, unless a custom activex control is written.  My company doesn't like that solution.

The other alternative would be to use a file upload feature like google and hotmail does.  But those solutions are also not sufficient.  This would be our last resort solution.

A more ideal solution would be like that of Sharepoint.  Sharepoint lets you choose multiple files to upload by showing you a window similar to that of the Explorer folder.  Each file shown in the right pane has a checkbox next to it.  The user can check the boxes to select the files he wants to upload.

Does anybody have any examples of this in code?

Thank you!
0
Comment
Question by:KPOExpert
3 Comments
 
LVL 12

Accepted Solution

by:
ShazbotOK earned 500 total points
ID: 21768615
Sharepoint uses an activeX control that is called "idUploadCtl"  so you would have to use ActiveX to get that look/feel.

You could also "hide" multiple FileUpload controls and use a listbox and button (controled by jscript) to get a MultiUpload feel.
0
 
LVL 13

Expert Comment

by:sm394
ID: 21792181
you can try using this tutorial
http://www.asp.net/Learn/videos/video-252.aspx
0
 

Author Comment

by:KPOExpert
ID: 21825851
sm394, Thanks for your input, but that video is describing the same solution I mentioned in my question.  Basically, it's the same implementation of uploading files as hotmail and gmail.

I guess there's no other way of doing it?  If not, all the points will be allocated to ShazbotOK.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question