468,505 Members | 1,768 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

page break style with aspx form

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
2 3430
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
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.

Similar topics

1 post views Thread by Scanner2001 | last post: by
2 posts views Thread by moondaddy | last post: by
7 posts views Thread by GaryDean | last post: by
5 posts views Thread by k.vanderstarren | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.