How can i get page numbers in the page footer to not show on the first page? I would like them to only show starting on page 2 (if there is a page 2 and beyond). I am using the Designer to add the page numbers now, so i merely inserted the expression =Global.CurrentPage, which is showing the page number. I also want it to display, for example:
Page 2 of 12
instead of just "2"
Thanks!
Hello
After looking into your requirement and doing some research, this functionality has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>.
There are many benefits to submitting an product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
ok I will do that. but for the second part, is there no way I can add "Page" before the <PageNumber> using an expression? I assumed I could do something like SQL, where I could do, for example, ="Page "&Global.CurrentPage, but this results in an error. How do I format this correctly? Also, couldn't I use something like the following to hide the page number of page 1?
if currentPage is 1
then hide the label
?
but how to do that?
Hi Karl,
Thank you for your post. I was wondering if have managed to resolve your issue. It would be great, if you could attach a sample application that shows your scenario.
Please in future create a new post for every of you new questions.
Hi
I stuck on a similar Problembecause I want view/hide Tables on the page header:lets say on page 1 I want show a different table (with more infos) and from page 2 just a smaller table with brief infos
I tried the same visibility databinding property without success :(
How can I use the visibility property?Maybe there is a workaround?
And the Same for the Pagenumber label
Hi Travis,
Thank you for your feedback. I was looking into your question and I can suggest you try :
=If(Global.CurrentPage=1,"" , Global.CurrentPage)
In order to show “Page 2 of 39” e.g., you can add to additional label before and after the main one like :
=If(Global.CurrentPage=1,"" , "Page")
=If(Global.CurrentPage=1,"" , "of 39")
Please let me know, if you need any further assistance on this matter.
why doesn't the following work to hide the page number label on page 1?
Visible Property->DataBinding->
=If(Global.CurrentPage=1, False, True)
I was able to figure out the "Page 1 of 2" syntax.
="Page "+"Global.CurrentPage+" of "+Global.TotalPages