none
Reportviewer very slow because generates all the subreports RRS feed

  • Question

  • Hello

    I'm new to ReportViewer and I was trying some examples, one of them is this one with sub reports:

    http://blogs.msdn.com/b/sqlforum/archive/2011/01/03/walkthrough-add-a-subreport-in-local-report-in-reportviewer.aspx

    I converted it to VS2010, the demo should display a list of customers and when clicked on the [+] Drill Down it should display the orders of the customers. But it is very slow because already at the beginning it generates all the sub reports for all the customers and when you drill down a customer it generate again all the sub reports for all the customers!

    Is it normal? I'm expecting that the sub reports are generated only when you hit the [+] Drill Down button and not every time, because now it takes about 5 minutes to generate the report, it's completely useless, you can't let the user wait 5 minutes to generate a simple report!

    The converted project can be downloaded here: http://sdrv.ms/16aJAcK

    Monday, April 29, 2013 8:31 AM