.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

Multiple file upload in IE9 not working?

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ASP.Net


I have downloaded multiple file upload from this site http://www.codeproject.com/KB/aspnet/multiple_file_upload.aspx, but this is not working in IE9.

Is there any other link or sample which works in IE9?


View Complete Post

More Related Resource Links

Upload Multiple File using JQuery in asp.net

In this article I have explained how to upload multiple files using file upload control. I have used jQuery plugin for uploading multiple files.

I have also explained how to check for file type, file maximum size limit using jQuery & also using server side validation code.

upload file not working



iam using masterpage and ajax update panel, i have child page called  fileupload.aspx,i try to upload the file

but its not working , can i use updatepanel in child page , pls very urgent

looking forward for answer.

File Upload Control is not working in Update Panel

hi friend... i am using update panel... in one of my aspx page (ASP.NET 2.0)there is a file upload control in update panel which is used to upload company logo on server..when i remove the update panel.. than file upload is working properly..but when i again place an update panel then file upload control is not working and its giving me error.. in likeIf String.IsNullOrEmpty(fldLogo.PostedFile.FileName.ToString) Then                 as object reference not set to an instance of an object... can any body help me ?any idea ??  

Multiple File Upload [ASP.NET 2.0]




I got a new requirement for multiple files upload. User wants the directory structure(like explore) in left side and files structure in the right side. In our application developed using asp.net 2.0 and client shouldn’t allow to use third party controls.


can anyone provide any approach on this using asp.net .2.0 itself would be helpful for me.


Thanks & Regards,


asp.net upload file not working for IPad/IPhone


Hi All,

Not sure if this is the correct area to ask, but its worth a try....

I have a webpage with an asp.net 2.0 upload file control, it works on Windows, but not in the IPad/IPhone, the textbox of the upload control has disappeared, and the button of the upload control is disabled.

Any ideas?

Many Thanks.

Multiple File Upload Class


I'm using this example here:


And have added some GUID for unique filenames.

I'm in the middle of trying to get the 3 filenames as strings and thought I'd put it in an external class file, but when I build the page:

public class MultipleFileUploader
    public static Boolean doMultipleFileUploader(string sFileUpload01,
        string sFileUpload02, string sFileUpload03)
        HttpFileCollection uploadedFiles = Request.Files;
        string sFileGuid = System.Guid.NewGuid().ToString();
        for (int i = 0; i < uploadedFiles.Count; i++)
            HttpPostedFile userPostedFile = uploadedFiles[i];
                if (userPostedFile.ContentLength > 0)
                    string serverFileName = Path.GetFileName(userPostedFile.FileName);
                    string getFileExtension = Path.GetExtension(serverFileName);//get the file extension
                    string sSaveLocation = Server.MapPath(sFilePath + "/") + sFileGuid + getFileExtension;
                    string sFileName = sFileGuid + serverFileName;
                    string FinalFileName = sFileGuid + getFileExtension;

Multiple Upload not working


Dear All,

We performed an inplace upgrade from 2007 to 2010 and we found that the Multiple Upload is not working. Here are some details,

  1. Security Zone is Intranet
  2. Upload Multiple Documents is shown, visible and can be selected
  3. ActiveX control loads and able to choose files from the local machine & select a folder
  4. File & folder chosen OK
  5. 'You are about to upload 1 files(s) to XXX, Do you want to continue?' Yes is selected.
  6. Upload screen progress briefly shows
  7. Redirected back to the document library, but no files have been uploaded.

The log doesn't seem to help, here are some sample log entries,

Entering monitored scope (Request (POST:http://SERVERNAME:80/SITENAME/_vti_bin/shtml.dll/DOCLIBNAME/Forms/Upload.aspx))     
Name=Request (POST:http://SERVERNAME:80/SITENAME/_vti_bin/shtml.dll/DOCLIBNAME/Forms/Upload.aspx)    ed21a23b-809d-4fae-a396-fb08d5be6ba6
Leaving Monitored Scope (Request (POST:http://SERVERNAME:80/SITENAME/_vti_bin/shtml.dll/DOCLIBNAME/Forms/Upload.aspx)). Execution Time=2.8636210627349    ed21a23b-809d-4fae-a396-fb08d5be6ba6

Please help.


William Man


Multiple file upload to the sharepoint document library using file upload control inside the gridvie


how to upload multiple files to the sharepoint document library using fileupload control inside the gridview.

form design is

<asp:GridView id="gridview1" runat="server"  autogenteratecolumn="false">

<asp:TemplateField HeaderText="3DFinal">


<asp:FileUpload id ="Fileupload" runat="Server"/>



<asp:TemplateField HeaderText="2DFinal">


<asp:FileUpload id ="Fileupload2" runat="Server"/>



<asp:TemplateField HeaderText="Final">


<asp:FileUpload id ="Fileupload3" runat="Server"/>





<asp:Button Id="Buuton1" runat="server" text="Save"/>

if i click save button files should go to my sharepoint document library.

if any one know pls help me...




Working with file upload as it streams


I'm actually using global.asax, but the code seems to be similar to working in an HttpModule (and I may end up moving it to one) so I'm posting here.  My first post on this site.

I'm using ??????HttpWorkerRequest.ReadEntityBody to get at the request stream as it comes off the wire, instead of waiting for the entire upload to complete and let a normal aspx page handle it.  These file uploads can be up to 2 GB and I need to compress (and maybe encrypt) them, and for various reasons I want this to be done as the file uploads instead of waiting until done.

The files are coming via post data in multipart/form-data format, either from the SWFUpload control or a normal ASPX file upload control.

I have some mostly working code that manually reads the stream in small buffers and watches for the start of the actual file data and then starts writing that part to a file using a compression stream.  I haven't added code to watch for the MIME boundary marker at the end of the file content yet though, and already the code seems overly complex.  So I'm wondering what others have done, and if .NET has anything to make it easier to work with this multipart/form-data format other than the Request.Form methods, because it seems that using any of those causes the code to hang until the entire upload is complete (I'm guessing so that the ASP.NET

Upload a File to a SharePoint Document Library - Part I

The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

Multi File Upload Using JQuery!

Everyone knows about the file upload in .NET. But the multi file upload is some what difficult in .NET. For that purpose we can have some AJAX or JQuery!. Jquery is the latest advanced version. It will give some animated upload. You can try it for your own!!!!

file upload in chunks or not buffering in memory before writing to disk?


What are the options for handling file uploads to reduce the memory footprint?  Is there a way to upload in chunks?  Is there a way to stream upload directly to disk instead of loading entire file in server memory?


New off line application working with sdf file. Need advice


Hey Folks

I am working on a project currently where I need to get data out of a 3rd party vendor's software that uses a .sdf file I looked this up and its a SQL CE file. I was hoping to just link to with with access but thats apparently not going to happen. I need to link to the database extract data from it to a csv file for later use. I also and most important I need to get the data from it and create a report that can be printed while on a customers site that my or may not have web access so I need for this program to be on and off line. I had my webapplication that I have been working on open and was able to bring up the sdf file under the server exploere however I can't seem to get anything out of it when I try to do grid views or detail views errors out.

Can I use one of Visual Studio projects to create this sort of applicaiton if so what would be the best approach. I would love to get an access odbc driver since office is allready installed on the employee's laptop's



Toolbox: Easy File Backup, Exploring Files And Folders Inside Visual Studio, Multiple Monitor Softwa


If the responsibility for creating, managing, and executing routine backups is yours, these tools will make it easier. Also see how you can browse folders and files from inside Visual Studio.

Scott Mitchell

MSDN Magazine May 2009

Upload multiple files in asp.net

The article Upload multiple files in asp.net was added by habdulrauf on Friday, July 09, 2010.

Some times we need to allow user to upload as many files as he/she wants instead of fixed number of files.So here is the procedure to achieve this. Idea is taken from Joe's video.%@ Page Language="C#" AutoEventWireup="true" CodeFile

file upload in Create User Wizard Created User event with UpdatePanel Tag wont work?



In my Create User Wizard1 Created User Wizard Event, I am collecting extra information from text boxes and allowing

the user to uplad a file.



I have put the Submit button within an Update Panel Tag but since I have done this it does not work.

Is there a way round it. In this situation would you use a trigger.?


<br />

  <asp:UpdatePanel ID="UpdatePanel2" runat="server">

  <asp:Button ID="StepNextButton" runat="server"  CommandName="MoveNext"  align="middle"
                                            Text="Submit my Profile" />

Asp.Net upload file access denied



I have the problem below, if anyone can help me, appreciate it.

Server Error in '/' Application.

Access to the path 'c:\Inetpub\EnewsAttFiles\employ-e-header2.jpg' is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'c:\Inetpub\EnewsAttFiles\employ-e-header2.jpg' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Hig
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend