Yes! I hope this helps you. There were two approaches I took, the latter
being better.
First, I simply deleted the <DIV style="page-break-after:always"><hr/></DIV>
from the content. While this did remove the visible rule, it still left ugly
blocks of blank space. If you had a table or matrix that spanned more than
one page, it broke it up -- not acceptable.
Here is what you need to do. In your RDL, you need to define your page
length to be the max length allowed (4064mm). Then set all your page break
properties on the various objects as you would want them to break. This will
essentially disable all the page breaks when viewed as HTML because the page
is so long, but keep the desireable breaking points. Then, for PDF output,
set the DeviceInfo element of <PageHeight> to be the actual size for
PDF/printed output (11in).
Works like a charm! Good Luck, David
[quoted text, click to view] "Bojesphob" wrote:
> David, did you ever get a solution for this? I have been searching for one
> for a little while and just came upon your post.
>
> "David Swanson" wrote:
>
> > Is it possible to supress the <hr/> that gets generated for page breaks in
> > HTML view. We want to use the same report definition for both HTML and PDF.
> > We optimized page breaks for the PDF, but want the HTML to be displayed
> > without the URL access (via Web Service) and simply put out the 10 or so
> > pages top down on a single html page, but without the <hr/> code the gets
> > automatically generated:
> >