Friday, March 9, 2012

Removing Page breaks in HTML

Hi,
I've created a report which displays in the Report Viewer as several pages which the user must page through to see all data rather than scrolling down the browser. Can the Page Breaks be removed altogether? I've used the MHTML render format but it's still got the page header and footer repeated multiple times.
Thanks
MattSet the page length to something really long.
--
This post is provided 'AS IS' with no warranties, and confers no rights. All
rights reserved. Some assembly required. Batteries not included. Your
mileage may vary. Objects in mirror may be closer than they appear. No user
serviceable parts inside. Opening cover voids warranty. Keep out of reach of
children under 3.
"Matt" <Matt@.discussions.microsoft.com> wrote in message
news:66B4BB75-6347-4E11-B34F-DE71AEF8E8CC@.microsoft.com...
> Hi,
> I've created a report which displays in the Report Viewer as several pages
which the user must page through to see all data rather than scrolling down
the browser. Can the Page Breaks be removed altogether? I've used the MHTML
render format but it's still got the page header and footer repeated
multiple times.
> Thanks
> Matt|||Is it possible to do this and still render page breaks when exporting to say PDF for example?
I have a report like this as well, and it would be nice if the user could scroll down to compare data on the web page, but if they decide to export to PDF to save the report or print it, it would be nice if page breaks would still work.
Setting the page length to some large value will screw up the page breaks in the other formats.
This should be an option. On the report properties "Render page breaks in HTML?" True/False.
Joe
"Chris Hays [MSFT]" wrote:
> Set the page length to something really long.
> --
> This post is provided 'AS IS' with no warranties, and confers no rights. All
> rights reserved. Some assembly required. Batteries not included. Your
> mileage may vary. Objects in mirror may be closer than they appear. No user
> serviceable parts inside. Opening cover voids warranty. Keep out of reach of
> children under 3.
> "Matt" <Matt@.discussions.microsoft.com> wrote in message
> news:66B4BB75-6347-4E11-B34F-DE71AEF8E8CC@.microsoft.com...
> > Hi,
> > I've created a report which displays in the Report Viewer as several pages
> which the user must page through to see all data rather than scrolling down
> the browser. Can the Page Breaks be removed altogether? I've used the MHTML
> render format but it's still got the page header and footer repeated
> multiple times.
> >
> > Thanks
> > Matt
>
>|||There's currently no way to have different default page lengths for
different renderers.
You can, however, pass the page length to the PDF renderer as a URL
parameter to override the long page length default.
--
This post is provided 'AS IS' with no warranties, and confers no rights. All
rights reserved. Some assembly required. Batteries not included. Your
mileage may vary. Objects in mirror may be closer than they appear. No user
serviceable parts inside. Opening cover voids warranty. Keep out of reach of
children under 3.
"Joe" <Joe@.discussions.microsoft.com> wrote in message
news:1C625C8C-0A5C-4B96-8C8B-633029E81041@.microsoft.com...
> Is it possible to do this and still render page breaks when exporting to
say PDF for example?
> I have a report like this as well, and it would be nice if the user could
scroll down to compare data on the web page, but if they decide to export to
PDF to save the report or print it, it would be nice if page breaks would
still work.
> Setting the page length to some large value will screw up the page breaks
in the other formats.
> This should be an option. On the report properties "Render page breaks in
HTML?" True/False.
> Joe
>
> "Chris Hays [MSFT]" wrote:
> > Set the page length to something really long.
> >
> > --
> > This post is provided 'AS IS' with no warranties, and confers no rights.
All
> > rights reserved. Some assembly required. Batteries not included. Your
> > mileage may vary. Objects in mirror may be closer than they appear. No
user
> > serviceable parts inside. Opening cover voids warranty. Keep out of
reach of
> > children under 3.
> > "Matt" <Matt@.discussions.microsoft.com> wrote in message
> > news:66B4BB75-6347-4E11-B34F-DE71AEF8E8CC@.microsoft.com...
> > > Hi,
> > > I've created a report which displays in the Report Viewer as several
pages
> > which the user must page through to see all data rather than scrolling
down
> > the browser. Can the Page Breaks be removed altogether? I've used the
MHTML
> > render format but it's still got the page header and footer repeated
> > multiple times.
> > >
> > > Thanks
> > > Matt
> >
> >
> >|||Hi Chris,
The maximum report page length is 4064 mm in the Report PageSize Height. Is
that the page length you mean?
Regards Magnus
"Chris Hays [MSFT]" wrote:
> Set the page length to something really long.
> --
> This post is provided 'AS IS' with no warranties, and confers no rights. All
> rights reserved. Some assembly required. Batteries not included. Your
> mileage may vary. Objects in mirror may be closer than they appear. No user
> serviceable parts inside. Opening cover voids warranty. Keep out of reach of
> children under 3.
> "Matt" <Matt@.discussions.microsoft.com> wrote in message
> news:66B4BB75-6347-4E11-B34F-DE71AEF8E8CC@.microsoft.com...
> > Hi,
> > I've created a report which displays in the Report Viewer as several pages
> which the user must page through to see all data rather than scrolling down
> the browser. Can the Page Breaks be removed altogether? I've used the MHTML
> render format but it's still got the page header and footer repeated
> multiple times.
> >
> > Thanks
> > Matt
>
>

No comments:

Post a Comment