locked
Save report files without loading the rdlc on UI RRS feed

  • Question

  • User1053054417 posted

    When report has large amount of data, the UI freezes when loading the rdlc.

    As an alternative, I am trying to not load the RDLC on UI, but prompt user to save it .

    How can this be done?

    Tuesday, March 5, 2013 5:50 PM

All replies

  • User-1528094326 posted

    Have a look at this, it should do what you need it to:

    http://forums.asp.net/t/1556522.aspx/1?RDLC+Export+directly+to+Excel+or+PDF+from+codebehind

    Tuesday, March 5, 2013 7:34 PM
  • User1053054417 posted

    I am able to save the file directly, however after the line response.end , I cannot perform any other action on the site. If I do the download button click or any other action, nothing happens. I want the site to perform as before the file download without having to refresh the browser or clicking the back button.

    Friday, March 15, 2013 12:50 PM
  • User-1528094326 posted

    Try using Response.Flush() instead of Response.End()

    Both methods flush the buffer contents to the user, but Flush will just send the data, where as End will end the Response.

    Friday, March 15, 2013 7:47 PM
  • User1053054417 posted

    Response.flush () has the same behaviour. The next line of code is not executing.

    Tuesday, March 19, 2013 10:51 AM
  • User1772036886 posted

    Hi,

    Try to load the report inside a iFrame. 

    Thank you.

    Tuesday, March 19, 2013 11:16 AM
  • User-1528094326 posted

    I would need to see a little bit of your code to help further

    Tuesday, March 19, 2013 6:46 PM