How to disable multiple upload button for Document List in Sharepoint 2010

  1. Open upload.aspx file in Visual Studio, upload.aspx file found this file in "14\TEMPLATE\LAYOUTS" folder.
  2. Search for "if (hideLink)" statement , you have to set hideLink variable to true for hiding the multiple upload button.
hideLink =yourJavaScriptFunction();
if ( hideLink)
...
3. replace yourJavaScriptFunction with your javascript function which returns bool value.


Comments

Popular posts from this blog

How to create workflow in Visio and import it in Sharepoint Designer 2010 - Part 1

Start With MVC Application Part 1

Modal Dialog in SharePoint 2010