Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 27th, 2005, 01:56 AM
Registered User
 
Join Date: Dec 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Pagination in asp

hi

any one can help me. i want page alignment in my asp reports. how can i view the print preview. i.e pagination in my page. thanks in advance

Kalyanaraman Narayanan
 
Old February 4th, 2005, 06:19 AM
Friend of Wrox
 
Join Date: Apr 2004
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I use the page-break-before CSS property to generate page breaks. Simply delcare in your style sheet...

<STYLE TYPE="text/css">
     P.breakhere {page-break-before: always}
</STYLE>

And then, whenever you need a page break, use a <P> tag with a "breakhere" class, i.e...

<P CLASS="breakhere">

I don't think this works in all browsers, however. It definitely works in IE.

Good luck






Similar Threads
Thread Thread Starter Forum Replies Last Post
pagination Regornil Pro JSP 2 May 31st, 2005 06:10 AM
Urgent: Pagination in ASP using arrays ,code reqd. jyoti_khera BOOK: Beginning ASP 3.0 1 October 19th, 2004 12:25 PM
Please.....Pagination junemo PHP Databases 2 September 25th, 2004 01:14 PM
Recordset Pagination (ASP Access) darinsee Classic ASP Databases 9 September 24th, 2004 05:30 PM
pagination junemo Oracle 0 July 1st, 2004 04:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.