Solved

Multiple file uploads like Sharepoint in ASP.NET C#

Posted on 2008-06-12
3
1,282 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 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