Export to Excel and selecting open does not open the file RRS feed

  • Question

  • I am using the Web ReportViewer in Local Mode and when I choose to export the report to Excel I get a dialog with an option to open or save.

    The name of the file in the dialog is .xls[1] which seems a bit wierd to me.  When I click on open it comes back with a page saying Internet explorer cannot display the web page.

    If I choose save and rename the file to give it a proper xls extension (test.xls) and then open the file it works ok.

    I want to be able to set ExportContentDisposition="AlwaysInline" but when I do that I just get the the page saying internet explorer cannot display the web page.

    A similar thing happens when exporting to PDF

    The name of the file is .pdf[1] but when I click on open it works fine.


    Any ideas why it is not working.


    I have been using the ReportViewer control for a while and this has always worked.  Dont know why it isnt at the moment.


    Am using VS2005 SP1 and have installed the latest redistributable package for ReportViewer.

    Wednesday, April 11, 2007 4:30 AM


All replies