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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Disable multiple upload

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint

Hi guys,

I need to disable multiple upload function, but I want to do that not for the whole page, but only for one library

Grateful for any help

View Complete Post

More Related Resource Links

Upload Multiple Files is disable in sharepoint 2010 how can a fix this


After upload a wrong file in sharepoint 2010 , the upload multiple files button dont work anymore . If a click on the button upload Multiple Files  a will see only a light blue screen . How can a Fix this Problem .?

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 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

Upload multiple files to Server

I have an ASPX Page that contains a fileuploader, I want to know how can I upload multiple files together to server and also create a new folder on Server and then upload these files into this new folder! Please send your sample codes in VB.NET,   Thanks,

remove upload multiple files link from upload.aspx..

hi, is there a way to remove the upload multiple files link from upload.aspx..without using any custom coding.

Sharepoint 2007 Upload Multiple Documents error on Windows Vista

Hi all, I am having an issue uploading multiple documents from a share using the "Upload Multiple Documents" on the toolbar in a document library. The user experiencing this problem has a Windows Vista machine that recently replaced XP. They have mapped shares that they use. The shares work fine in windows explorer, but when you click the + next to the share through the "Upload Multiple Documents" function on sharepoint, the machine thinks for a while, then removes the + and shows no documents. Anyone know why this is happening?

Cannot upload multiple documents from DFS network drive with Windows 7

Hi,   We have a Moss2007 installation with SP2 and CU update October 2009. All our clients have a network drive to a DFS link. We use XP, Vista and Windows7 clients   Our DFS structure: DFS-Namespace\A LOT OF DFS-Links\   Problem: When a Windows 7 user want to upload multiple documents (Doc Library menu->Upload->Upload Multiple documents), he cannot expand the DFS network drive. This problems is only on Windows7 and not on XP or Vista.   I think that Windows 7 has another interpretation about the DFS links because when we try to upload multiple documents from a network drive that is linked directly to a DFS folder, you see all the folders and documents when expanded.     \\DFS-Namespace\DFS-Links   -> Not working \\DFS-Namespace\DFS-Link\folder   -> No problem     When you go directly to the network drive though Windows explorer, you see that Windows 7 show a folder with shortcut icon instead of a normal folder icon for a DFS LINK. Windows Vista show’s  an normal folder icon for a DFS Link. Maybe not relevant, it ‘s only a remark.     Someone any idée?   Regards,

C# Upload multiple files in sequence

I have  a project that requires me to upload multiple files to an FTP server. I have the code working perfectly as long as I upload one file and close the connection. The problem I am running into is when I try to upload more than one file. I keep getting different errors depending on how I configure the code. For example, I can upload the first file using a WebRequest... and then run the Stream and upload fine. However, when I go to the second file, I run into an error where it tells me that the Stream is not clsed. Not a problem, I can close the Stream but I run into a problem on the second file because I get a differnet error telling me that the Stream is open. We configured the code to open the connection upload the file, close the connection, open another connection upload the file and close it but that is causing problems. My goal is to open a session, open the Stream, upload the file, go to the next Stream and upload the file, and close stream and connection. Basically I want to upload the files just as if I was using a BAT file, which by the way works great, but I want to accomplish all of this with C# instead of calling a BAT file. I pasted the code below and I would really appreciate your help. I need to upload the files in order and not all at once. Thank you in advance FileInfo ToUpload = new FileInfo("D:\\FTP\\FTPScripts" + "\\&quo

Is there a way to upload multiple files to a SharePoint List Item in MOSS 2007? I can not use Doc Li



Is there a way to upload multiple files to a SharePoint List Item in MOSS 2007? I can not use Doc Library because of the funcationality.

Thank you,



Need a good solution on how to allow a user to upload multiple files


Im currently working on a project where i have a form that users fill out in order to submit issues.
My ask is to give the user the ability to upload multiple files together with the form submission and also go back each time they have an update and upload more if they need.
The way i have it right now is that i only have one FileUpload Control and once the Save button is clicked the file is save in the database together with the form info.

 I already has a separate table for the files with reference to the ticket but im just not sure how can i allow the user to submit as many files as they want in an easy way.

Any ideas?

Upload and Downlaod Multiple documents?


Can we upload or download multiple documents to shared documents ?

I have an option to upload multiple documents, but when I place my pointer over there, "This control is currently disabled.. You might not have the right permission level to use this, you might need to select an object or item, or the control might not work in this context" I am getting this error.

Please let me know how to download or upload multiple documents.

Multiple Images upload to SQL Database C# code help pls !



I have a web form where user can upload image and store to SQL database. (SQL tables has a relation like one title has multiple images fields).

Title: <asp:TextBox ID="txtTitle" runat="server" Width="300px"></asp:TextBox>

Image Name:<asp:TextBox ID="txtImage" runat="server" Width="200px"></asp:TextBox>

<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="btnSubmit" runat="server" Text="Submit Information" 
               onclick="btnSubmit_Click" />

aspx.cs code:

 protected void btnSubmit_Click(object sender, EventArgs e)
//to store image into sql database.
         string strImageName = txtImage.Text.ToString();      

                    if (FileUpload1.PostedFile != null &&
                    FileUpload1.PostedFile.FileName != "")
                           byte[] imageSize = new byte[FileUpload1.PostedFile.ContentLength];

Upload Multiple Documents issue after office 2010 install



I am getting issue in "Upload Multiple Documents" after office 2010 install.

Its asking me to Drag n Drop files but after droping all files, if i click OK button , each file Staus is failed.

Kindly help me, its urgent.




Radio Button Enable Disable Multiple Panel


using c# asp.net i m able to achieve the enable and disable through auto postback

but i want this thing to achieve by javascript can anyone help me

Default Page

protected void Button1_Click(object sender, EventArgs e)
        string url = "default2.aspx?";
        url += "sid=" + Server.UrlEncode(DropDownList1.SelectedItem.Text.Trim());

Default 2

protected void Page_Load(object sender, EventArgs e)
        Panel1.Visible = false;
        Panel2.Visible = false;
        Panel3.Visible = false;
        Panel4.Visible = false;
        if (!IsPostBack)
            if (Request.QueryString != null)
                Label1.Text = Request.QueryString["sid"].ToString();

    protected void RadioButton1_CheckedChanged(object sender, EventArgs e)
        if (Request.QueryString["sid"] == "new")
            Panel1.Visible = true;
            Panel2.Visible = false;
        if (Request.QueryString["sid"] == "old")
            Panel3.Visible = true;
            Panel4.Visible = false;
    protected void RadioButton2_CheckedChanged(object sender, EventArgs e)

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,


Upload Multiple: Works on some machines, not others. An Office 2010 thing? No? What's up?



We've received some feedback that Upload Multiple Files only works on some machines, for some people, and not on/for others. Tracking down this challenge, it seems that machines with Office 2010 have components that allow the Upload Multiple functionality to work, as machines with Office 2007 and prior are not working with Upload Multiple.

EDIT:  Multiple Upload works SOMETIMES on Non-Office 2010 machines with the following interface: http://img100.imageshack.us/i/muv2.jpg/  and ALWAYS on Office 2010-equipped machines with this interface: http://img819.imageshack.us/i/muv1.jpg/

This thread: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/2decb33d-9e66-408c-b010-701b2fb4269f  may confirm my suspicion, but the relevant post is vaguely worded (doesn't specify office versions) and so it's hard to tell for sure.

Can someone please confirm, or suggest what else might potentially be going wrong?



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;
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