Export with ReportViewer opens a blank webpage RRS feed

  • Question

  • Hi,

    I am using application to display a local reports (.rdlc), with report viewer control. When I use Export functionality in the report viewer, it opens a blank page and this blank page remains, even after exporting. Is there any way to avoid this blank page or close or get the exported .pdf or excel to open with in that page?


    -= JL =-
    Wednesday, February 11, 2009 12:00 AM


All replies

  • I have figured it out.

    By default report is exported as an attachment. This behaviour can be changed by setting the ExportContentDisposition to AlwaysInline.


    -= JL =-
    Wednesday, February 11, 2009 1:11 AM

    Hi JL,

    Thank you for sharing your resolution.


    Best Regards,

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Tuesday, February 17, 2009 1:57 AM