By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,294 Members | 2,650 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,294 IT Pros & Developers. It's quick & easy.

page break style with aspx form

P: n/a
I am trying to insert a printer page break inside of a form. I do not
seem to be able to do this.
My form contains 3 asp panels. Each of the panels have dynamically built
content, and they are dynamically displayed based on certain conditions.
What I want to do, and I thought this would be pretty easy, is when
printing, start each panels content on a new page. It is ok if the content
spans multiple pages, just want to start it on a new page when printing. I
have tried to put an <HR> tag in between the panels and build the page break
after style from the format menu, and included my own style sheet, and apply
a page break style. Nothing seems to work.
I know my style syntax is correct, because I can take a standard html
page and apply page break after styles to text and elements and it works.
(samples: P.page { page-break-after: always } )
Any suggestions on how to accomplish this?

Thanks,
J
Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In message <u3**************@tk2msftngp13.phx.gbl>, Scanner2001
<je************@hotmail.com> writes
I am trying to insert a printer page break inside of a form. I do not
seem to be able to do this.
My form contains 3 asp panels. Each of the panels have dynamically built
content, and they are dynamically displayed based on certain conditions.
What I want to do, and I thought this would be pretty easy, is when
printing, start each panels content on a new page. It is ok if the content
spans multiple pages, just want to start it on a new page when printing. I
have tried to put an <HR> tag in between the panels and build the page break
after style from the format menu, and included my own style sheet, and apply
a page break style. Nothing seems to work.
I know my style syntax is correct, because I can take a standard html
page and apply page break after styles to text and elements and it works.
(samples: P.page { page-break-after: always } )
Any suggestions on how to accomplish this?


Add the following code to the page displayed in IE where you require a
Real Physical Page Break when printed.

<P style="page-break-after:always;">&nbsp;</P>

You may gain an extra blank line when displayed in the browser (depends
on version in use) however, when IE sends the data to your printer it
should force a proper Page-Break to occur immediately after this line.

--
Andrew D. Newbould E-Mail: ne********@NOSPAMzadsoft.com

ZAD Software Systems Web : www.zadsoft.com
Nov 22 '05 #2

P: n/a
In message <u3**************@tk2msftngp13.phx.gbl>, Scanner2001
<je************@hotmail.com> writes
I am trying to insert a printer page break inside of a form. I do not
seem to be able to do this.
My form contains 3 asp panels. Each of the panels have dynamically built
content, and they are dynamically displayed based on certain conditions.
What I want to do, and I thought this would be pretty easy, is when
printing, start each panels content on a new page. It is ok if the content
spans multiple pages, just want to start it on a new page when printing. I
have tried to put an <HR> tag in between the panels and build the page break
after style from the format menu, and included my own style sheet, and apply
a page break style. Nothing seems to work.
I know my style syntax is correct, because I can take a standard html
page and apply page break after styles to text and elements and it works.
(samples: P.page { page-break-after: always } )
Any suggestions on how to accomplish this?


Add the following code to the page displayed in IE where you require a
Real Physical Page Break when printed.

<P style="page-break-after:always;">&nbsp;</P>

You may gain an extra blank line when displayed in the browser (depends
on version in use) however, when IE sends the data to your printer it
should force a proper Page-Break to occur immediately after this line.

--
Andrew D. Newbould E-Mail: ne********@NOSPAMzadsoft.com

ZAD Software Systems Web : www.zadsoft.com
Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.