Reputation: 117
I have this report which I am recreating from access and it is not like a regular report with tables it actually uses a lot textboxes and rectangles, I figured if I kept the width of the report to 8.1 and length to 8.9 then i set all the margins to 0.1 so it print one page so that all good but when I place a textbox on the designer to where I want it to be then I run the report and see that they are placed else where soo why is it not rendering correctly is my question? is there an easier way to create an .rdlc report in Asp.net webform that I am unaware of?
Visual Studio 2008 Report Viewer 9.0 .Net 3.5
Shows up like this in the report viewer:
Upvotes: 1
Views: 1763
Reputation: 11105
From your screenshots it seems that every control is smaller than its content.
Resize your textboxes or change font size; you can also modify Padding
property to free some space. After this operation try setting CanGrow
property to False
for every control that don't need to grow vertically (i.e. multiline TextBox
).
Also note that ASP.NET
ReportViewer
is not very good in displaying complicated reports; try export your report in PDF using the built-in functionality: if the result is better use LocalReport.Render Method to render it directly in PDF.
Upvotes: 2