locked
How To disable Export Format in Dropdown List of report viewer web part? RRS feed

  • Question

  • hi,

    does any one knows how to disable the export option in the dropdown list of report viewer web part?

    thnx

    Thursday, October 28, 2010 7:17 PM

Answers

  • You can Set the toolbar property of the web part to Small. that will display only the parameters and navigation. but you will also loose Find and Print along with Export. the only other alternate I can think of if you need everything else and want to disable only export is to add a Content Editor to the same page and use JavaScript to disable or  hide selectively. you can check this link to see how to use JavaScript to hide the new menu item. but the principle is the same.

     

    http://sharepointsolutions.blogspot.com/2007/07/adding-javascript-to-content-editor-web.html

     

    • Proposed as answer by Nagesh T Friday, October 29, 2010 2:46 PM
    • Marked as answer by jenfifi Saturday, October 30, 2010 12:34 PM
    • Edited by Mike Walsh FIN Tuesday, November 2, 2010 5:19 PM sig removed - don't ask people to mark your posts as answer
    Friday, October 29, 2010 2:46 PM

All replies

  • You can Set the toolbar property of the web part to Small. that will display only the parameters and navigation. but you will also loose Find and Print along with Export. the only other alternate I can think of if you need everything else and want to disable only export is to add a Content Editor to the same page and use JavaScript to disable or  hide selectively. you can check this link to see how to use JavaScript to hide the new menu item. but the principle is the same.

     

    http://sharepointsolutions.blogspot.com/2007/07/adding-javascript-to-content-editor-web.html

     

    • Proposed as answer by Nagesh T Friday, October 29, 2010 2:46 PM
    • Marked as answer by jenfifi Saturday, October 30, 2010 12:34 PM
    • Edited by Mike Walsh FIN Tuesday, November 2, 2010 5:19 PM sig removed - don't ask people to mark your posts as answer
    Friday, October 29, 2010 2:46 PM
  • thnx Nagesh
    Saturday, October 30, 2010 12:33 PM