This question already has an answer here:

I have a test.aspx page on which i have inserted a web part i.e. OOTB web part which is a library. According to the requirements, I need to disable drag and drop functionality for the users. User will not be able to add any documents on this web part, web part will only show them the list view of all the documents in the library. I changed the "style" to"Shaded" used css but still no success.

marked as duplicate by user2536, Robert Lindgren Sep 15 '15 at 8:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • It's not a duplicate, this question relates to web part, while the proposed duplicate discusses Library view itself. – Jussi Palo Sep 15 '15 at 8:20

Add following details on the page:

<style type="text/css">
    /*-- Hide Drag & Drop --*/
    caption.ms-dragDropAttract {
        caption-side: bottom;
        display: none !important;
<script type="text/javascript">
    /*-- Stop Drag & Drop --*/
    ExecuteOrDelayUntilScriptLoaded(function () {
        g_uploadType = DragDropMode.NOTSUPPORTED;
        SPDragDropManager.DragDropMode = DragDropMode.NOTSUPPORTED;
        SPDragDropManager.DargDropMode.style.display = "none";
    }, "DragDrop.js");

Not the answer you're looking for? Browse other questions tagged or ask your own question.