dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Reset IE Page Counter?

  1. #1
    Join Date
    Sep 2006
    Posts
    3

    Question Reset IE Page Counter?

    OK, here is the scoop. We use an ASP page to generate reports using data from a MS SQL backend. The user goes to a page, enters an item number to print their report(s) on, and then selects the report(s) that they would like to print using check boxes. The problem is, if a user selects two 3 page reports, the header prints out as "Page 1 of 6, 2 of 6..........." etc. I would like it to print "Page 1 of 3, 2 of 3, 3 of 3" for each of the reports. So, my question is, is there a way to get IE's page counter to reset at the end of each report that it generates? Thanks in advance for any info that anyone can provide!

  2. #2
    Join Date
    Jan 2005
    Location
    Frankfort, KY, USA
    Posts
    6,167
    I've not been able to control that. What I did, instead, was include my own footer.

  3. #3
    Join Date
    Sep 2006
    Posts
    3
    Therein lies another problem. That was my original thought, but the data is being outputted as tables, so you never know really where the bottom of the page will be to insert a footer

  4. #4
    Join Date
    Jan 2005
    Location
    Frankfort, KY, USA
    Posts
    6,167
    Is it something you can control with CSS? (page-break:after) Or are the tables always likely to span more than one page?
    KDLA

  5. #5
    Join Date
    Sep 2006
    Posts
    3
    Let me give you a little bit more info. If the user checks a box for more than one report, each report is separated by a CSS pagebreak so that the individual reports do not bleed together. However, the tables are such that for some items it may output 15 rows and for others you may get 70..............so its all over the place.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles