none
ReportViewer control - ShowExportControls dropdown RRS feed

  • Question

  • The dropdown control has various export formats listed.  I want to know if there is a way to restrict the values to one or two formats in the dropdown.
    Thursday, July 5, 2007 6:31 AM

All replies

  •  

    I doubt this is possible because i search the net like hell for this and didnt come across anything. The only way would be to hijack the report viewer control in some way. Im going to try that later.

     

    Do let me know incase you find something.

     

    Wink

    Wednesday, July 25, 2007 9:06 AM
  • If you are using ReportViewer to access reports via ServerProcessing and ReportingServices 2005, try the following:


    1) Open rsreportserver.config
    2) Scroll down to the <Render> tag.  Within its XML branch you will find the list of export formats.
    3) For each Extension Name that you do not want, i.e. EXCEL, add the attribute Visible = "false"

    EX: <Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering... ..." Visible="false" />

    4) Save and close the file
    5) Restart IIS

    I'm not sure if this will work for previous versions of ReportingServices.
    Thursday, September 6, 2007 4:40 PM
  • Yes, I know that.  If I do that, it will be for all the reports publised in the Reporting Server.  But, I was trying to do that programmatically though .

    Friday, September 7, 2007 3:29 AM