This is a migrated thread and some comments may be shown as answers.

Bug exporting report with nested subreports?

1 Answer 154 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
justins
Top achievements
Rank 1
justins asked on 10 Apr 2007, 07:48 PM

Hello,
I may have discovered a bug exporting nested subreports. Here is my infrastructure:

I have report A that is data bound via a SQL Data Adaptor control dragged on the designer, bound to a stored procedure. Report A has a subreport (Report B). Report B is also bound using the same method. Running and exporting Report A with the one subreport poses no problems.

I then add Report C. Report C is referenced as a subreport in Report B. Report C does not have a SQL Data Adapter control placed on the designer. Report C gets its data via the NeedDataSource event of the subreport control on Report B, very similar to the “MasterDetail” telerik sample. However, when Report C is added to the mix, exporting to PDF or TIFF (didn’t try web archive) pegs the CPU process of the Visual Studio 2005 built-in web server and never exports the report. Running the report in the report viewer poses no problem, just exporting.

Is this a known limitation?
Thanks again,
Justin

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 11 Apr 2007, 10:47 AM
Hi Justin,

Thanks for reporting the issue.

We have found that this problem happens when you assign an empty DataSource for the SubReport. Make sure that you have at least one data row to which the SubReport can be bound. Meanwhile, the issue will be reported as a bug and fixed for the next release.

Your telerik points have been updated!
 

Best wishes,
Chavdar
the telerik team

Instantly find answers to your questions at the new telerik Support Center
Tags
General Discussions
Asked by
justins
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Share this question
or