display export options dynamically in reportviewer control

  • Hi,

    I am working on a web application in where we are displaying SSRS Reports from report server in a reportViewer control. I need to list only excel and PDF options in export dropdown. Also I need to hide excel option for few reports that should only be exported into PDF. I need to do this programatically instead of modifying RSReportserver.config file.

    Is it possible?.

    Thanks in Advance,

    Karthik

  • As much as i know u need to change the .css file for certain option to appear on your report viewer. But it will affect all of your report. u cant do it for specific report. U need to write your own GUI into .net which is not worth and probably very complex procedure.

  • When this problem came up for me some time ago the only solution was to hide the reportviewer controls that handled export. Then we created a couple of buttons on the asp.net web form like ExportToExcel and ExportToPDF that used web service calls to render the report in the formats we wanted to allow.

    Essentially, you cannot do this on a single report basis. You will need to custom code the web page to have it's own list of export options/buttons/whatever.

  • Thanks Todd. I found following solution and working on that. I dont know if this is efficient. But let u all know if it will work fine.

    http://mikemason.ca/2007/04/30/

    Thanks again.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply