none
Export with ReportViewer opens a blank webpage RRS feed

  • Question

  • Hi,

    I am using ASP.net 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?

    Thanks


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

Answers

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.

    Cheers


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

    Hi JL,

    Thank you for sharing your resolution.

     

    Best Regards,
    Lingzhi


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. http://forums.msdn.microsoft.com/en-US/csharpide/thread/8e9ed0d7-11ff-402a-8489-9b5f05eeb706 http://forums.msdn.microsoft.com/en-US/vssetup/thread/60424309-bd78-4ca2-b618-03c4a16123b6
    Tuesday, February 17, 2009 1:57 AM
    Moderator