Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
450
Total Pages Incorrect When Inserting A Title Page
posted

Hi,

I am using the UltraGridPrintDocument to print a grid.  In my footer I am using the following custom tag provided by Infragistics to give me the current page number and the total pages for each page that is printed:  "Page <#> of <##>".

I am currently researching a way to add some extra information on the first page of what I am printing.  This is not header information, as I already have a header being printed on each page.  This is more like a title/cover page of information.  I am attempting to use the following sample to print an extra first page.

http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR2.0/html/Infragistics2.Win.v8.3~Infragistics.Win.Printing.UltraPrintDocument~PageBodyPrinting_EV.html

I believe this example will work for what I need, but the problem is that page numbers in the footer are incorrect.  Lets say for example that I am printing a grid that would normally cover a total of 1 page being printed.  I am manually inserting this extra title page which doesn't have a footer.  When I print my 2nd page (1st page after the title page) my footer says "Page 2 of 1".  Is this a bug in the special page number tag logic?  Is there anything I can do to correct this?  I would expect the footer to say "Page 2 of 2".  Or even "Page 1 of 1" would be acceptable here.

 

Thanks,

~Corey

Parents
No Data
Reply
  • 4219
    posted

    Hi,

    I have created a support ticket with refernce number : CAS-58127-FK90DP for you. I will check your question and will update you here or in the ticket.

    Regards,

    Stefaniya

Children
No Data