I am using Infragistics NetAdvantage 7.1 and i would like to printout to include a footer that shows a format like this:"Page 1 of 8".I have been searching documentations and online all over and could only find that <#> means "page number".But there is no mentioning what the substitution code for "total number of pages" private void ultraGrid_InitializePrint(object sender, CancelablePrintEventArgs e){ e.DefaultLogicalPageLayoutInfo.PageFooter = "Page <#> of ????";}I would greatly appreciate if you can point me to the right URL where i could see the complete list of "substitution codes" that PrintHeader/PrintFooter would accept.Thanx a lot.
Hi,
You can find a list of all of the available replacement codes for the headers and footers here.
The bad news is that the there is currently only 1: the page number. You cannot currently get the total number of pages.
The good news is that we will be adding a new replacement code in NetAdvantage 9.1 to allow you to print the total number, as well. It's scheduled for release in April.
What is the Total number of pages format in 2009 Volume 1? I'd like to print "Page X of Y".
Printing the Total Number of Pages
Hello Pete,
You could use the link below instead:
http://help.infragistics.com/NetAdvantage/WinForms/current/CLR4.0/page=?page=WinGridPrintDocument_Printing_Total_Number_of_Pages.html
Please feel free to let us know if you have any other questions with this matter.
The URL provided is no longer valid. Is there an update URL for this solution?
Thanks.