Solved

Multiple file uploads like Sharepoint in ASP.NET C#

Posted on 2008-06-12
3
1,289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
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…

752 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