tags:

views:

4176

answers:

5

I have a RDLC report that I'm having problems with page breaks. The report has a group that has enough records to display that do not fit on one page. This report renders fine in Normal Mode, but when I switch to Print Mode, "extra" page breaks that were not there before appear. This is causing the report to print on more pages than necessary. I do not have the group set to keep on one page, and I have been playing with the values for Height and InteractiveHeight, but nothing seems to work.

Is there any way to resolve this problem? I need this report to print out properly, and these mysterious page breaks are causing this problem. Any help or suggestions are appreciated.

+2  A: 

Make sure you check your margin settings on the report properties dialogue. I think the default is 1 inch on all sides. That could be throwing off the printing.

Travis
A: 

Try tweaking the width of the elements. You have to make sure that they are within the margins of the print layout, or you'll get extra pages. Make sure your margins aren't really wide (I think they are by default).

Troy Howard
A: 

Margins are set to zero. Plus, I'm not sure what tweaking the width of the elements will do. I failed to mention that this report works just fine if there all the displayed data fits on one page. I will try tweaking the width of the elements.

This is just from experience. I had the same symptom when my margins were set to a total of about 1 inch, and I had elements on the page that were exactly 7 inches. Making it just slightly smaller removed the extra breaks. Make sure all the element widths are within the printable area of the page.
Troy Howard
+1  A: 

Select table,right click, go to properties,add NEW group right after any group you have ( in that case I call 'PreviousGroupName"), expression should be =(RowNumber("PreviousGroupName") - 1) \27+ 1, check Page break at end. It will fit 27 rows in the web and when export into .PDF you should see the same 27 rows. You can change 27 to any number you need to fit your page,

Then you can change Viewer HEIGHT (in .aspx) to any size,to avoid Scrolls.

A: 

Just set ur page size property as ==8.5in, 3.625in, and then view your report

Nidhin