ReportViewer1.Report = new MyReport();
var printScript = String.Format(
"{0}.PrintReport();"
, ReportViewer1.ClientID);
ScriptManager.RegisterStartupScript(
this
,
this
.GetType(),
"ReportPrint"
, printScript,
true
);
Hello
I am hoping someone can shed some light on my issue of printing labels. I have follwed the guide - How to: Create Multi-Column Report - Across the Page and Then Down . The output is repeating by the number of records returned. ie. 8 records, data is repeated 8 times
For test purposes we have an SQL recordset that returnes 8 records (for the test).
As part of the recordset we also return an incremental record number (as RowNumber) e.g
RowNumber Data
3 Some Data
4 Some Data
5 Some data
etc
We have added a list item into the details section , the Row group grouping expression is set to = Fields.RowNumber / 3.
The Static grouping expression is set to = Fields.RowNumber % 3.
We then get the 8 records repeated 8 times. It works as 3 across then down, just 8 times.
(incidentally we start the incremental count from 3 to end up with blank labels at the end of the report rather than within it)
What am I missing?
Hope that makes sense
Any assistance would be appreciated.
Thanks Andrew
ReportBook reportBook = new ReportBook();
reportBook.DocumentName =
"Combined";
foreach (selected person)
{
// generate the pdf report by exporting directly to disk
// Add the report to the report book
reportBook.Reports.Add(report);
}
Now, I need to create another PDF of the combined report.
I am not sure how to accomplish this. The examples/help articles don't show that detail.
Can you help me out?
Thanks, Mike
P.S. - I am really starting to understand and like your product. I love the fact that you can do so much programmatically.
Hi,
I have a report in which I will execute a pagebreak if the content of a field is true. I have attached a picture for understanding what I mean.
How can I solve this?
Thanks
Andreas
Hi,
I m using HTML5 telerik reports. It was working fine. From last few days it suddenly started giving following error on runtime:
"Internal Server Error:
An error has occurred.
Attempting to deserialize an empty stream."
Need support for this.
I am looking for a report generator which will do something rather complex, and Telerik reporting looks like it can probably do what is needed, but I'd like to confirm.
For the sake of an example, presume I have a large order, with items that have a price, a quantity, and a line price. The descriptions may be big and there are many pages, perhaps 20 or so in the printout. Each page must have, at the bottom of the page, the sub-total for that page (adding all the line prices). This part is shown in the online invoice demonstration, so is indeed possible.
At the end of the report, the last page(s) should have the page numbers and their values, so:
page 1 $2,000
page 2 $3,202
page 3 $2,039
Now, I think that it should be possible for the page totals to be picked up in the ItemDataBound events, and perhaps added to a list somehow which is then picked up at the end to be fed into the final section of the report. Am I right? Is this viable, or is it pushing it too far? Can a report even have multiple sections so that the last section can be inserted (sort of like two reports in one?).
I appreciate any thoughts anyone might have. Thank you.